synced with master

This commit is contained in:
Gani Georgiev
2023-09-25 23:26:07 +03:00
33 changed files with 45 additions and 39 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import (
"mime/multipart"
"net/http"
"os"
"path"
"path/filepath"
"regexp"
"sort"
@@ -275,7 +276,7 @@ func (s *System) DeletePrefix(prefix string) []error {
if err := s.Delete(obj.Key); err != nil {
failed = append(failed, err)
} else {
dirsMap[filepath.Dir(obj.Key)] = struct{}{}
dirsMap[path.Dir(obj.Key)] = struct{}{}
}
}
// ---