Export sync.RootLength so clients may modify it at runtime

This commit is contained in:
2025-03-18 21:44:14 -04:00
parent 17223758b1
commit 44924737ab
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func WalkEntryDir() ([]string, []string) {
}
// trim root path from each path before storing and replace backslashes with forward slashes
trimmedPath := strings.ReplaceAll(fullPath[rootLength:], "\\", "/")
trimmedPath := strings.ReplaceAll(fullPath[RootLength:], "\\", "/")
// append the path to the appropriate slice
if !entry.IsDir() {