mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
dropbox: speed up directory listings by specifying 1000 items in a chunk
This commit is contained in:
@@ -852,6 +852,7 @@ func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err e
|
||||
arg := files.ListFolderArg{
|
||||
Path: f.opt.Enc.FromStandardPath(root),
|
||||
Recursive: false,
|
||||
Limit: 1000,
|
||||
}
|
||||
if root == "/" {
|
||||
arg.Path = "" // Specify root folder as empty string
|
||||
|
||||
Reference in New Issue
Block a user