diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-01-14 22:17:49 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-01-14 22:17:49 -0800 |
| commit | e1c7bc66f9a2f613df5eef55d6143f9b2a551cf3 (patch) | |
| tree | 2041f98ed196f98457d4ffa3f46579833769d449 /weed | |
| parent | 4aaa97c78995b2fb9df1d22f8bfa7340f20105e6 (diff) | |
| download | seaweedfs-e1c7bc66f9a2f613df5eef55d6143f9b2a551cf3.tar.xz seaweedfs-e1c7bc66f9a2f613df5eef55d6143f9b2a551cf3.zip | |
change interface
Diffstat (limited to 'weed')
| -rw-r--r-- | weed/filer/filerstore.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer/filerstore.go b/weed/filer/filerstore.go index f1e6c6c35..a44d9b6d6 100644 --- a/weed/filer/filerstore.go +++ b/weed/filer/filerstore.go @@ -24,8 +24,8 @@ type FilerStore interface { FindEntry(context.Context, util.FullPath) (entry *Entry, err error) DeleteEntry(context.Context, util.FullPath) (err error) DeleteFolderChildren(context.Context, util.FullPath) (err error) - ListDirectoryEntries(ctx context.Context, dirPath util.FullPath, startFileName string, includeStartFile bool, limit int) ([]*Entry, error) - ListDirectoryPrefixedEntries(ctx context.Context, dirPath util.FullPath, startFileName string, includeStartFile bool, limit int, prefix string) ([]*Entry, error) + ListDirectoryEntries(ctx context.Context, dirPath util.FullPath, startFileName string, includeStartFile bool, limit int) ([]*Entry, bool, error) + ListDirectoryPrefixedEntries(ctx context.Context, dirPath util.FullPath, startFileName string, includeStartFile bool, limit int, prefix string) ([]*Entry, bool, error) BeginTransaction(ctx context.Context) (context.Context, error) CommitTransaction(ctx context.Context) error |
