aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorNekoGirlSAIKOU2022-04-25 21:27:08 +0800
committerJakob Unterwurzacher2022-08-28 11:09:06 +0200
commit4808adc761783e93d6b6d91a9ed4727089f66688 (patch)
treef5017163e17489b1d1ad24a4f4400bef99b6f73f /internal
parent1bff80b46cf3cdd2d6934ebf905fca96dde7af97 (diff)
Add comment to pass Codacy Static Code Analysis
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