fix docker media path normalization

This commit is contained in:
ShukeBta
2026-07-01 14:24:24 +08:00
parent 7cf0e468ff
commit 7ebeddfa38
14 changed files with 283 additions and 21 deletions
+4
View File
@@ -235,6 +235,10 @@ func normalizeOrganizeDestinationRoot(root string) string {
return cleaned
}
func normalizeMappedOrganizeDestinationRoot(root string) string {
return normalizeOrganizeDestinationRoot(resolveMappedDestinationPath(root))
}
func pathAlreadyEndsWith(path, suffix string) bool {
base := strings.TrimSpace(filepath.Base(filepath.Clean(path)))
return strings.EqualFold(base, suffix)