1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-08 11:33:33 +00:00

fs: rename BasicInfo to DirEntry

This commit is contained in:
Nick Craig-Wood
2017-06-30 10:54:14 +01:00
parent e7e9aa0dfa
commit e2d7d413ef
12 changed files with 31 additions and 33 deletions

View File

@@ -360,8 +360,8 @@ func (f *Fs) list(dir string, recurse bool, fn listFn) error {
return nil
}
// Convert a list item into a BasicInfo
func (f *Fs) itemToDirEntry(remote string, object *storage.Object, isDirectory bool) (fs.BasicInfo, error) {
// Convert a list item into a DirEntry
func (f *Fs) itemToDirEntry(remote string, object *storage.Object, isDirectory bool) (fs.DirEntry, error) {
if isDirectory {
d := &fs.Dir{
Name: remote,