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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/file_path.go b/hotline/file_path.go
index 620f54d..f4a27cc 100644
--- a/hotline/file_path.go
+++ b/hotline/file_path.go
@@ -102,7 +102,7 @@ func (fp *FilePath) Len() uint16 {
return binary.BigEndian.Uint16(fp.ItemCount[:])
}
-func readPath(fileRoot string, filePath, fileName []byte) (fullPath string, err error) {
+func ReadPath(fileRoot string, filePath, fileName []byte) (fullPath string, err error) {
var fp FilePath
if filePath != nil {
if _, err = fp.Write(filePath); err != nil {