List the objects and directories in dir into entries. The entries can be returned in any order but should be for a complete directory. dir should be "" to list the root, and should not have trailing slashes. This should return ErrDirNotFound if the directory isn't found.
(ctx context.Context, dir string)
| 974 | // This should return ErrDirNotFound if the directory isn't |
| 975 | // found. |
| 976 | func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err error) { |
| 977 | return list.WithListP(ctx, dir, f) |
| 978 | } |
| 979 | |
| 980 | // ListP lists the objects and directories of the Fs starting |
| 981 | // from dir non recursively into out. |