aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/mongodb/mongodb_store.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2020-08-31 10:22:14 -0700
committerGitHub <noreply@github.com>2020-08-31 10:22:14 -0700
commitedb9d65e056e245731769bbefaa722e2587cdd98 (patch)
treeb0d61c25d97805ba44e78725c515c880c3efb211 /weed/filer2/mongodb/mongodb_store.go
parent408e339c53b9b6626e81f1c3f0f2399494bf4ce6 (diff)
parent9a195bebfd6c803161d07ca80b227dd058719aa5 (diff)
downloadseaweedfs-edb9d65e056e245731769bbefaa722e2587cdd98.tar.xz
seaweedfs-edb9d65e056e245731769bbefaa722e2587cdd98.zip
Merge pull request #1431 from kmlebedev/wip-prefix-search
Wip prefix search
Diffstat (limited to 'weed/filer2/mongodb/mongodb_store.go')
-rw-r--r--weed/filer2/mongodb/mongodb_store.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/filer2/mongodb/mongodb_store.go b/weed/filer2/mongodb/mongodb_store.go
index 375a457a4..661aa4ea0 100644
--- a/weed/filer2/mongodb/mongodb_store.go
+++ b/weed/filer2/mongodb/mongodb_store.go
@@ -167,6 +167,10 @@ func (store *MongodbStore) DeleteFolderChildren(ctx context.Context, fullpath ut
return nil
}
+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, filer2.ErrUnsupportedListDirectoryPrefixed
+}
+
func (store *MongodbStore) ListDirectoryEntries(ctx context.Context, fullpath util.FullPath, startFileName string, inclusive bool, limit int) (entries []*filer2.Entry, err error) {
var where = bson.M{"directory": string(fullpath), "name": bson.M{"$gt": startFileName}}