add var UnsupportedListDirectoryPrefixedErr

This commit is contained in:
Konstantin Lebedev
2020-08-31 21:43:32 +05:00
parent 60a86cfe04
commit 7f013d77d6
9 changed files with 13 additions and 19 deletions

View File

@@ -2,7 +2,6 @@ package mongodb
import (
"context"
"errors"
"fmt"
"github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog"
@@ -169,7 +168,7 @@ func (store *MongodbStore) DeleteFolderChildren(ctx context.Context, fullpath ut
}
func (store *MongodbStore) ListDirectoryPrefixedEntries(ctx context.Context, fullpath util.FullPath, startFileName string, inclusive bool, limit int, prefix string) (entries []*filer2.Entry, err error) {
return nil, errors.New(filer2.UnsupportedListDirectoryPrefixedErr)
return nil, filer2.UnsupportedListDirectoryPrefixedErr
}
func (store *MongodbStore) ListDirectoryEntries(ctx context.Context, fullpath util.FullPath, startFileName string, inclusive bool, limit int) (entries []*filer2.Entry, err error) {