aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/filerstore.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer/filerstore.go')
-rw-r--r--weed/filer/filerstore.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/weed/filer/filerstore.go b/weed/filer/filerstore.go
index 38927d6fb..260945b33 100644
--- a/weed/filer/filerstore.go
+++ b/weed/filer/filerstore.go
@@ -4,8 +4,11 @@ import (
"context"
"errors"
"github.com/chrislusf/seaweedfs/weed/util"
+ "io"
)
+const CountEntryChunksForGzip = 50
+
var (
ErrUnsupportedListDirectoryPrefixed = errors.New("unsupported directory prefix listing")
ErrUnsupportedSuperLargeDirectoryListing = errors.New("unsupported super large directory listing")
@@ -45,3 +48,7 @@ type BucketAware interface {
OnBucketDeletion(bucket string)
CanDropWholeBucket() bool
}
+
+type Debuggable interface {
+ Debug(writer io.Writer)
+}