Modify: add recursive options for list method

Test: local.List
This commit is contained in:
HFO4
2020-04-27 10:31:34 +08:00
parent 26d4d34837
commit 36e5b31f73
10 changed files with 42 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ type Driver struct {
Policy *model.Policy
}
func (handler Driver) List(ctx context.Context, path string) ([]response.Object, error) {
func (handler Driver) List(ctx context.Context, path string, recursive bool) ([]response.Object, error) {
panic("implement me")
}