mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-11 08:47:27 +02:00
synced with master
This commit is contained in:
commit
e4b7303a5d
33 files changed
+45
-39
No files matched your search
@@ -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{}{}
|
||||
}
|
||||
}
|
||||
// ---
|
||||
|
||||
Reference in new issue
Block a user