aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/nametransform/names.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/nametransform/names.go b/internal/nametransform/names.go
index 0488d13..4d56d71 100644
--- a/internal/nametransform/names.go
+++ b/internal/nametransform/names.go
@@ -168,6 +168,8 @@ func Dir(path string) string {
return d
}
+// GetLongNameMax will return curent `longNameMax`. File name longer than
+// this should be hashed.
func (n *NameTransform) GetLongNameMax() int {
return n.longNameMax
} \ No newline at end of file