rclone: github.com/ncw/rclone/fs/list Index | Files

package list

import "github.com/ncw/rclone/fs/list"

Package list contains list functions

Index

Package Files

list.go

func DirSorted Uses

func DirSorted(ctx context.Context, f fs.Fs, includeAll bool, dir string) (entries fs.DirEntries, err error)

DirSorted reads Object and *Dir into entries for the given Fs.

dir is the start directory, "" for root

If includeAll is specified all files will be added, otherwise only files and directories passing the filter will be added.

Files will be returned in sorted order

Package list imports 6 packages (graph) and is imported by 17 packages. Updated 2019-06-25. Refresh now. Tools for package owners.