summaryrefslogtreecommitdiff
path: root/internal/nametransform/names.go
diff options
context:
space:
mode:
authorNekoGirlSAIKOU2022-04-25 01:35:30 +0800
committerJakob Unterwurzacher2022-08-28 11:09:01 +0200
commit1bff80b46cf3cdd2d6934ebf905fca96dde7af97 (patch)
treef9548101774bf4ed5d3e412d81e34f0fcf07cacc /internal/nametransform/names.go
parentbf29c9f99d90343d608c86b536c36abece158591 (diff)
Fix invalid -longnamemax for reverse mode
Diffstat (limited to 'internal/nametransform/names.go')
-rw-r--r--internal/nametransform/names.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/nametransform/names.go b/internal/nametransform/names.go
index ebe0fb6..0488d13 100644
--- a/internal/nametransform/names.go
+++ b/internal/nametransform/names.go
@@ -167,3 +167,7 @@ func Dir(path string) string {
}
return d
}
+
+func (n *NameTransform) GetLongNameMax() int {
+ return n.longNameMax
+} \ No newline at end of file