MCPcopy
hub / github.com/rclone/rclone / List

Method List

backend/b2/b2.go:976–978  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

974// This should return ErrDirNotFound if the directory isn't
975// found.
976func (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.

Callers 1

InternalTestVersionsMethod · 0.95

Calls 1

WithListPFunction · 0.92

Tested by 1

InternalTestVersionsMethod · 0.76