mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-31 22:36:41 -04:00
Export sync.RootLength so clients may modify it at runtime
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ func WalkEntryDir() ([]string, []string) {
|
||||
}
|
||||
|
||||
// trim root path from each path before storing
|
||||
trimmedPath := fullPath[rootLength:]
|
||||
trimmedPath := fullPath[RootLength:]
|
||||
|
||||
// append the path to the appropriate slice
|
||||
if !entry.IsDir() {
|
||||
|
||||
Reference in New Issue
Block a user