mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-05 21:06:38 +08:00
fix docker media path normalization
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user