aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_path.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/file_path.go')
-rw-r--r--hotline/file_path.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/hotline/file_path.go b/hotline/file_path.go
index 3ff2435..cdd95b9 100644
--- a/hotline/file_path.go
+++ b/hotline/file_path.go
@@ -87,15 +87,6 @@ func (fp *FilePath) String() string {
return path.Join(out...)
}
-func ReadFilePath(filePathFieldData []byte) string {
- var fp FilePath
- err := fp.UnmarshalBinary(filePathFieldData)
- if err != nil {
- // TODO
- }
- return fp.String()
-}
-
func readPath(fileRoot string, filePath, fileName []byte) (fullPath string, err error) {
var fp FilePath
if filePath != nil {