unexport the filesystem hooks for now to avoid introducing breaking changes

This commit is contained in:
Gani Georgiev
2026-08-21 22:58:14 +03:00
parent 0e9dcfe1ab
commit 654af12d17
7 changed files with 56 additions and 31 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ func (s *System) DeletePrefix(prefix string) []error {
// A trailing slash will be appended to a non-empty dir string argument
// to ensure that the checked prefix is a "directory".
//
// Returns "false" in case the has at least one file, otherwise - "true".
// Returns "false" in case it has at least one file, otherwise - "true".
func (s *System) IsEmptyDir(dir string) bool {
if dir != "" && !strings.HasSuffix(dir, "/") {
dir += "/"