diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-06-17 13:24:57 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-06-17 13:24:57 -0700 |
| commit | 14c6f12b0c8c8321a267a2e7cf9724f8f30f2104 (patch) | |
| tree | 381d6aa0de9563d74376833f4541c9e538814c88 | |
| parent | a08f8a4b805737070562682f8850c4cfb0275480 (diff) | |
| download | seaweedfs-14c6f12b0c8c8321a267a2e7cf9724f8f30f2104.tar.xz seaweedfs-14c6f12b0c8c8321a267a2e7cf9724f8f30f2104.zip | |
adjust interface parameter name and doc
| -rw-r--r-- | weed/filer2/filerstore.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/filer2/filerstore.go b/weed/filer2/filerstore.go index 55b565c4b..b169c6f80 100644 --- a/weed/filer2/filerstore.go +++ b/weed/filer2/filerstore.go @@ -5,6 +5,7 @@ import ( ) type FilerStore interface { + // GetName gets the name to locate the configuration in filer.toml file GetName() string // Initialize initializes the file store Initialize(configuration Configuration) error @@ -12,7 +13,7 @@ type FilerStore interface { UpdateEntry(*Entry) (err error) FindEntry(FullPath) (entry *Entry, err error) DeleteEntry(FullPath) (err error) - ListDirectoryEntries(dirPath FullPath, startFileName string, inclusive bool, limit int) ([]*Entry, error) + ListDirectoryEntries(dirPath FullPath, startFileName string, includeStartFile bool, limit int) ([]*Entry, error) } var ErrNotFound = errors.New("filer: no entry is found in filer store") |
