"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
Rename NewFsObject to NewObject
Nick Craig-Woodb1f131964e0d
diff --git a/amazonclouddrive/amazonclouddrive.go b/amazonclouddrive/amazonclouddrive.goindex a83b2771f..f6badc1d2 100644--- a/amazonclouddrive/amazonclouddrive.go+++ b/amazonclouddrive/amazonclouddrive.go@@ -215,7 +215,7 @@ func NewFs(name, root string) (fs.Fs, error) {// No root so return old freturn f, nil}- obj := newF.newFsObjectWithInfo(remote, nil)+ obj := newF.newObjectWithInfo(remote, nil)if obj == nil {// File doesn't exist so return old freturn f, nil@@ -226,10 +226,10 @@ func NewFs(name, root string) (fs.Fs, error) {return f, nil}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info *acd.Node) fs.Object {+func (f *Fs) newObjectWithInfo(remote string, info *acd.Node) fs.Object {o := &Object{fs: f,remote: remote,@@ -247,11 +247,11 @@ func (f *Fs) newFsObjectWithInfo(remote string, info *acd.Node) fs.Object {return o}-// NewFsObject returns an FsObject from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}// FindLeaf finds a directory of name leaf in the folder with ID pathID@@ -384,7 +384,7 @@ func (f *Fs) ListDir(out fs.ListOpts, job dircache.ListDirJob) (jobs []dircache.}}case fileKind:- if o := f.newFsObjectWithInfo(remote, node); o != nil {+ if o := f.newObjectWithInfo(remote, node); o != nil {if out.Add(o) {return true}@@ -557,7 +557,7 @@ func (f *Fs) Hashes() fs.HashSet {// if err != nil {// return nil, err// }-// return f.NewFsObject(remote), nil+// return f.NewObject(remote), nil//}// Purge deletes all the files and the containerdiff --git a/amazonclouddrive/amazonclouddrive_test.go b/amazonclouddrive/amazonclouddrive_test.goindex 20ef4b97c..07187f0d2 100644--- a/amazonclouddrive/amazonclouddrive_test.go+++ b/amazonclouddrive/amazonclouddrive_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/b2/b2.go b/b2/b2.goindex a21f7e11e..abe7421c6 100644--- a/b2/b2.go+++ b/b2/b2.go@@ -237,7 +237,7 @@ func NewFs(name, root string) (fs.Fs, error) {} else {f.root += "/"}- obj := f.NewFsObject(remote)+ obj := f.NewObject(remote)if obj != nil {// return an error with an fs which points to the parentreturn f, fs.ErrorIsFile@@ -319,10 +319,10 @@ func (f *Fs) clearUploadURL() {f.uploadMu.Unlock()}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info *api.File) fs.Object {+func (f *Fs) newObjectWithInfo(remote string, info *api.File) fs.Object {o := &Object{fs: f,remote: remote,@@ -343,11 +343,11 @@ func (f *Fs) newFsObjectWithInfo(remote string, info *api.File) fs.Object {return o}-// NewFsObject returns an FsObject from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}// sendDir works out given a lastDir and a remote which directories should be sent@@ -495,7 +495,7 @@ func (f *Fs) listFiles(out fs.ListOpts, dir string) {return fs.ErrorListAborted}} else {- if o := f.newFsObjectWithInfo(remote, object); o != nil {+ if o := f.newObjectWithInfo(remote, object); o != nil {if out.Add(o) {return fs.ErrorListAborted}diff --git a/b2/b2_test.go b/b2/b2_test.goindex 50c694cdb..510541d04 100644--- a/b2/b2_test.go+++ b/b2/b2_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/drive/drive.go b/drive/drive.goindex fef26bd29..841e75d89 100644--- a/drive/drive.go+++ b/drive/drive.go@@ -337,7 +337,7 @@ func NewFs(name, path string) (fs.Fs, error) {// No root so return old freturn f, nil}- _, err := newF.newFsObjectWithInfoErr(remote, nil)+ _, err := newF.newObjectWithInfoErr(remote, nil)if err != nil {// File doesn't exist so return old freturn f, nil@@ -349,8 +349,8 @@ func NewFs(name, path string) (fs.Fs, error) {return f, nil}-// Return an FsObject from a path-func (f *Fs) newFsObjectWithInfoErr(remote string, info *drive.File) (fs.Object, error) {+// Return an Object from a path+func (f *Fs) newObjectWithInfoErr(remote string, info *drive.File) (fs.Object, error) {o := &Object{fs: f,remote: remote,@@ -366,22 +366,22 @@ func (f *Fs) newFsObjectWithInfoErr(remote string, info *drive.File) (fs.Object,return o, nil}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info *drive.File) fs.Object {- o, err := f.newFsObjectWithInfoErr(remote, info)+func (f *Fs) newObjectWithInfo(remote string, info *drive.File) fs.Object {+ o, err := f.newObjectWithInfoErr(remote, info)if err != nil {fs.Log(o, "Failed to read metadata: %v", err)}return o}-// NewFsObject returns an FsObject from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}// FindLeaf finds a directory of name leaf in the folder with ID pathID@@ -478,7 +478,7 @@ func (f *Fs) ListDir(out fs.ListOpts, job dircache.ListDirJob) (jobs []dircache.}case item.Md5Checksum != "":// If item has MD5 sum it is a file stored on drive- if o := f.newFsObjectWithInfo(remote, item); o != nil {+ if o := f.newObjectWithInfo(remote, item); o != nil {if out.Add(o) {return true}@@ -489,7 +489,7 @@ func (f *Fs) ListDir(out fs.ListOpts, job dircache.ListDirJob) (jobs []dircache.if extension == "" {fs.Debug(remote, "No export formats found")} else {- if o := f.newFsObjectWithInfo(remote+"."+extension, item); o != nil {+ if o := f.newObjectWithInfo(remote+"."+extension, item); o != nil {obj := o.(*Object)obj.isDocument = trueobj.url = link@@ -547,7 +547,7 @@ func (f *Fs) createFileInfo(remote string, modTime time.Time, size int64) (*Obje//// The new object may have been created if an error is returnedfunc (f *Fs) Put(in io.Reader, src fs.ObjectInfo) (fs.Object, error) {- exisitingObj, err := f.newFsObjectWithInfoErr(src.Remote(), nil)+ exisitingObj, err := f.newObjectWithInfoErr(src.Remote(), nil)switch err {case nil:return exisitingObj, exisitingObj.Update(in, src)@@ -726,7 +726,7 @@ func (f *Fs) Move(src fs.Object, remote string) (fs.Object, error) {return nil, errors.New("can't move a Google document")}- // Temporary FsObject under construction+ // Temporary Object under constructiondstObj, dstInfo, err := f.createFileInfo(remote, srcObj.ModTime(), srcObj.bytes)if err != nil {return nil, errdiff --git a/drive/drive_test.go b/drive/drive_test.goindex 72510ade9..08c609837 100644--- a/drive/drive_test.go+++ b/drive/drive_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/dropbox/dropbox.go b/dropbox/dropbox.goindex 0ae05de2e..61ea53178 100644--- a/dropbox/dropbox.go+++ b/dropbox/dropbox.go@@ -196,10 +196,10 @@ func (f *Fs) setRoot(root string) {}}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info *dropbox.Entry) fs.Object {+func (f *Fs) newObjectWithInfo(remote string, info *dropbox.Entry) fs.Object {o := &Object{fs: f,remote: remote,@@ -216,11 +216,11 @@ func (f *Fs) newFsObjectWithInfo(remote string, info *dropbox.Entry) fs.Object {return o}-// NewFsObject returns an FsObject from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}// Strips the root off path and returns it@@ -247,7 +247,7 @@ func (f *Fs) stripRoot(path string) (string, error) {return strip(path, f.slashRootSlash)}-// Walk the root returning a channel of FsObjects+// Walk the root returning a channel of Objectsfunc (f *Fs) list(out fs.ListOpts, dir string) {// Track path component case, it could be different for entries coming from DropBox API// See https://www.dropboxforum.com/hc/communities/public/questions/201665409-Wrong-character-case-of-folder-name-when-calling-listFolder-using-Sync-API?locale=en-us@@ -322,7 +322,7 @@ func (f *Fs) list(out fs.ListOpts, dir string) {out.SetError(err)return}- if o := f.newFsObjectWithInfo(path, entry); o != nil {+ if o := f.newObjectWithInfo(path, entry); o != nil {if out.Add(o) {return}@@ -345,7 +345,7 @@ func (f *Fs) list(out fs.ListOpts, dir string) {if err != nil {return err}- if o := f.newFsObjectWithInfo(path, entry); o != nil {+ if o := f.newObjectWithInfo(path, entry); o != nil {if out.Add(o) {return fs.ErrorListAborted}@@ -387,7 +387,7 @@ func (f *Fs) listOneLevel(out fs.ListOpts, dir string) {return}} else {- if o := f.newFsObjectWithInfo(remote, entry); o != nil {+ if o := f.newObjectWithInfo(remote, entry); o != nil {if out.Add(o) {return}@@ -396,7 +396,7 @@ func (f *Fs) listOneLevel(out fs.ListOpts, dir string) {}}-// List walks the path returning a channel of FsObjects+// List walks the path returning a channel of Objectsfunc (f *Fs) List(out fs.ListOpts, dir string) {defer out.Finished()level := out.Level()diff --git a/dropbox/dropbox_test.go b/dropbox/dropbox_test.goindex a842a0de9..c65248951 100644--- a/dropbox/dropbox_test.go+++ b/dropbox/dropbox_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/fs/fs.go b/fs/fs.goindex de54dcce0..903e4c1f3 100644--- a/fs/fs.go+++ b/fs/fs.go@@ -117,8 +117,8 @@ type Fs interface {InfoListFser- // NewFsObject finds the Object at remote. Returns nil if can't be found- NewFsObject(remote string) Object+ // NewObject finds the Object at remote. Returns nil if can't be found+ NewObject(remote string) Object// Put in to the remote path with the modTime given of the given size//diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.goindex dac479155..46cec1ceb 100644--- a/fstest/fstests/fstests.go+++ b/fstest/fstests/fstests.go@@ -168,10 +168,10 @@ func TestFsListDirEmpty(t *testing.T) {assert.Equal(t, []string{}, dirsToNames(dirs))}-// TestFsNewFsObjectNotFound tests not finding a object-func TestFsNewFsObjectNotFound(t *testing.T) {+// TestFsNewObjectNotFound tests not finding a object+func TestFsNewObjectNotFound(t *testing.T) {skipIfNotOk(t)- if remote.NewFsObject("potato") != nil {+ if remote.NewObject("potato") != nil {t.Fatal("Didn't expect to find object")}}@@ -179,7 +179,7 @@ func TestFsNewFsObjectNotFound(t *testing.T) {func findObject(t *testing.T, Name string) fs.Object {var obj fs.Objectfor i := 1; i <= eventualConsistencyRetries; i++ {- obj = remote.NewFsObject(Name)+ obj = remote.NewObject(Name)if obj != nil {break}@@ -304,8 +304,8 @@ func TestFsListFile1(t *testing.T) {fstest.CheckListing(t, remote, []fstest.Item{file1, file2})}-// TestFsNewFsObject tests NewFsObject-func TestFsNewFsObject(t *testing.T) {+// TestFsNewObject tests NewObject+func TestFsNewObject(t *testing.T) {skipIfNotOk(t)obj := findObject(t, file1.Path)file1.Check(t, obj, remote.Precision())diff --git a/googlecloudstorage/googlecloudstorage.go b/googlecloudstorage/googlecloudstorage.goindex 71bba4c0f..a1fced427 100644--- a/googlecloudstorage/googlecloudstorage.go+++ b/googlecloudstorage/googlecloudstorage.go@@ -265,10 +265,10 @@ func NewFs(name, root string) (fs.Fs, error) {return f, nil}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info *storage.Object) fs.Object {+func (f *Fs) newObjectWithInfo(remote string, info *storage.Object) fs.Object {o := &Object{fs: f,remote: remote,@@ -285,11 +285,11 @@ func (f *Fs) newFsObjectWithInfo(remote string, info *storage.Object) fs.Objectreturn o}-// NewFsObject returns an FsObject from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}// listFn is called from list to handle an object.@@ -369,7 +369,7 @@ func (f *Fs) listFiles(out fs.ListOpts, dir string) {return fs.ErrorListAborted}} else {- if o := f.newFsObjectWithInfo(remote, object); o != nil {+ if o := f.newObjectWithInfo(remote, object); o != nil {if out.Add(o) {return fs.ErrorListAborted}diff --git a/googlecloudstorage/googlecloudstorage_test.go b/googlecloudstorage/googlecloudstorage_test.goindex 7cb199ef9..a32bed947 100644--- a/googlecloudstorage/googlecloudstorage_test.go+++ b/googlecloudstorage/googlecloudstorage_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/hubic/hubic_test.go b/hubic/hubic_test.goindex 7a2b8e20f..085319e36 100644--- a/hubic/hubic_test.go+++ b/hubic/hubic_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/local/local.go b/local/local.goindex a32afdd4a..76eeba8ad 100644--- a/local/local.go+++ b/local/local.go@@ -78,7 +78,7 @@ func NewFs(name, root string) (fs.Fs, error) {// It is a file, so use the parent as the rootvar remote stringf.root, remote = getDirFile(f.root)- obj := f.NewFsObject(remote)+ obj := f.NewObject(remote)if obj == nil {return nil, errors.Errorf("failed to make object for %q in %q", remote, f.root)}@@ -103,8 +103,8 @@ func (f *Fs) String() string {return fmt.Sprintf("Local file system at %s", f.root)}-// newFsObject makes a half completed Object-func (f *Fs) newFsObject(remote string) *Object {+// newObject makes a half completed Object+func (f *Fs) newObject(remote string) *Object {remote = normString(remote)remote = filepath.ToSlash(remote)dstPath := f.filterPath(filepath.Join(f.root, f.cleanUtf8(remote)))@@ -115,11 +115,11 @@ func (f *Fs) newFsObject(remote string) *Object {}}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info os.FileInfo) fs.Object {- o := f.newFsObject(remote)+func (f *Fs) newObjectWithInfo(remote string, info os.FileInfo) fs.Object {+ o := f.newObject(remote)if info != nil {o.info = info} else {@@ -132,11 +132,11 @@ func (f *Fs) newFsObjectWithInfo(remote string, info os.FileInfo) fs.Object {return o}-// NewFsObject returns an FsObject from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}// listArgs is the arguments that a new list takes@@ -192,7 +192,7 @@ func (f *Fs) list(out fs.ListOpts, remote string, dirpath string, level int) (su}}} else {- if fso := f.newFsObjectWithInfo(newRemote, fi); fso != nil {+ if fso := f.newObjectWithInfo(newRemote, fi); fso != nil {if fso.Storable() && out.Add(fso) {return nil}@@ -272,11 +272,11 @@ func (f *Fs) cleanUtf8(name string) string {return name}-// Put the FsObject to the local filesystem+// Put the Object to the local filesystemfunc (f *Fs) Put(in io.Reader, src fs.ObjectInfo) (fs.Object, error) {remote := src.Remote()- // Temporary FsObject under construction - info filled in by Update()- o := f.newFsObject(remote)+ // Temporary Object under construction - info filled in by Update()+ o := f.newObject(remote)err := o.Update(in, src)if err != nil {return nil, err@@ -389,8 +389,8 @@ func (f *Fs) Move(src fs.Object, remote string) (fs.Object, error) {return nil, fs.ErrorCantMove}- // Temporary FsObject under construction- dstObj := f.newFsObject(remote)+ // Temporary Object under construction+ dstObj := f.newObject(remote)// Check it is a file if it existserr := dstObj.lstat()@@ -636,7 +636,7 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo) error {return o.lstat()}-// Stat a FsObject into info+// Stat a Object into infofunc (o *Object) lstat() error {info, err := os.Lstat(o.path)o.info = infodiff --git a/local/local_test.go b/local/local_test.goindex bd8ef06f9..51455b0c2 100644--- a/local/local_test.go+++ b/local/local_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/onedrive/onedrive.go b/onedrive/onedrive.goindex 95df4046c..f24a49944 100644--- a/onedrive/onedrive.go+++ b/onedrive/onedrive.go@@ -246,10 +246,10 @@ func (f *Fs) newObjectWithInfo(remote string, info *api.Item) fs.Object {return o}-// NewFsObject returns an Object from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {+func (f *Fs) NewObject(remote string) fs.Object {return f.newObjectWithInfo(remote, nil)}diff --git a/onedrive/onedrive_test.go b/onedrive/onedrive_test.goindex 5f03c233a..bd6a2d1d3 100644--- a/onedrive/onedrive_test.go+++ b/onedrive/onedrive_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/s3/s3.go b/s3/s3.goindex e9fa6f512..eeae5adf4 100644--- a/s3/s3.go+++ b/s3/s3.go@@ -340,10 +340,10 @@ func NewFs(name, root string) (fs.Fs, error) {return f, nil}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info *s3.Object) fs.Object {+func (f *Fs) newObjectWithInfo(remote string, info *s3.Object) fs.Object {o := &Object{fs: f,remote: remote,@@ -368,11 +368,11 @@ func (f *Fs) newFsObjectWithInfo(remote string, info *s3.Object) fs.Object {return o}-// NewFsObject returns an FsObject from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}// listFn is called from list to handle an object.@@ -482,7 +482,7 @@ func (f *Fs) listFiles(out fs.ListOpts, dir string) {return fs.ErrorListAborted}} else {- if o := f.newFsObjectWithInfo(remote, object); o != nil {+ if o := f.newObjectWithInfo(remote, object); o != nil {if out.Add(o) {return fs.ErrorListAborted}@@ -536,7 +536,7 @@ func (f *Fs) List(out fs.ListOpts, dir string) {return}-// Put the FsObject into the bucket+// Put the Object into the bucketfunc (f *Fs) Put(in io.Reader, src fs.ObjectInfo) (fs.Object, error) {// Temporary Object under constructionfs := &Object{@@ -634,7 +634,7 @@ func (f *Fs) Copy(src fs.Object, remote string) (fs.Object, error) {if err != nil {return nil, err}- return f.NewFsObject(remote), err+ return f.NewObject(remote), err}// Hashes returns the supported hash sets.diff --git a/s3/s3_test.go b/s3/s3_test.goindex 9d3bd2629..e6fc666db 100644--- a/s3/s3_test.go+++ b/s3/s3_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/swift/swift.go b/swift/swift.goindex 4a73c5c39..d7b03775f 100644--- a/swift/swift.go+++ b/swift/swift.go@@ -221,10 +221,10 @@ func NewFs(name, root string) (fs.Fs, error) {return NewFsWithConnection(name, root, c)}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info *swift.Object) fs.Object {+func (f *Fs) newObjectWithInfo(remote string, info *swift.Object) fs.Object {o := &Object{fs: f,remote: remote,@@ -248,11 +248,11 @@ func (f *Fs) newFsObjectWithInfo(remote string, info *swift.Object) fs.Object {return o}-// NewFsObject returns an FsObject from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}// listFn is called from list and listContainerRoot to handle an object.@@ -312,7 +312,7 @@ func (f *Fs) list(dir string, level int, fn listFn) error {return f.listContainerRoot(f.container, f.root, dir, level, fn)}-// listFiles walks the path returning a channel of FsObjects+// listFiles walks the path returning a channel of Objectsfunc (f *Fs) listFiles(out fs.ListOpts, dir string) {defer out.Finished()if f.container == "" {@@ -331,7 +331,7 @@ func (f *Fs) listFiles(out fs.ListOpts, dir string) {return fs.ErrorListAborted}} else {- if o := f.newFsObjectWithInfo(remote, object); o != nil {+ if o := f.newObjectWithInfo(remote, object); o != nil {// Storable does a full metadata read on 0 size objects which might be dynamic large objectsif o.Storable() {if out.Add(o) {@@ -437,7 +437,7 @@ func (f *Fs) Purge() error {go func() {err = f.list("", fs.MaxLevel, func(remote string, object *swift.Object, isDirectory bool) error {if !isDirectory {- if o := f.newFsObjectWithInfo(remote, object); o != nil {+ if o := f.newObjectWithInfo(remote, object); o != nil {toBeDeleted <- o}}@@ -472,7 +472,7 @@ func (f *Fs) Copy(src fs.Object, remote string) (fs.Object, error) {if err != nil {return nil, err}- return f.NewFsObject(remote), nil+ return f.NewObject(remote), nil}// Hashes returns the supported hash sets.diff --git a/swift/swift_test.go b/swift/swift_test.goindex 285bb091a..9bc80ee7a 100644--- a/swift/swift_test.go+++ b/swift/swift_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }diff --git a/yandex/yandex.go b/yandex/yandex.goindex 4384cde80..a9fde823c 100644--- a/yandex/yandex.go+++ b/yandex/yandex.go@@ -243,7 +243,7 @@ func (f *Fs) list(dir string, fn listFn) error {return nil}-// List walks the path returning a channel of FsObjects+// List walks the path returning a channel of Objectsfunc (f *Fs) List(out fs.ListOpts, dir string) {defer out.Finished()@@ -263,7 +263,7 @@ func (f *Fs) List(out fs.ListOpts, dir string) {return fs.ErrorListAborted}} else {- if o := f.newFsObjectWithInfo(remote, object); o != nil {+ if o := f.newObjectWithInfo(remote, object); o != nil {if out.Add(o) {return fs.ErrorListAborted}@@ -295,17 +295,17 @@ func (f *Fs) List(out fs.ListOpts, dir string) {}}-// NewFsObject returns an Object from a path+// NewObject returns an Object from a path//// May return nil if an error occurred-func (f *Fs) NewFsObject(remote string) fs.Object {- return f.newFsObjectWithInfo(remote, nil)+func (f *Fs) NewObject(remote string) fs.Object {+ return f.newObjectWithInfo(remote, nil)}-// Return an FsObject from a path+// Return an Object from a path//// May return nil if an error occurred-func (f *Fs) newFsObjectWithInfo(remote string, info *yandex.ResourceInfoResponse) fs.Object {+func (f *Fs) newObjectWithInfo(remote string, info *yandex.ResourceInfoResponse) fs.Object {o := &Object{fs: f,remote: remote,diff --git a/yandex/yandex_test.go b/yandex/yandex_test.goindex 0f438f058..574b8def7 100644--- a/yandex/yandex_test.go+++ b/yandex/yandex_test.go@@ -18,41 +18,41 @@ func init() {}// Generic tests for the Fs-func TestInit(t *testing.T) { fstests.TestInit(t) }-func TestFsString(t *testing.T) { fstests.TestFsString(t) }-func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }-func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }-func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }-func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }-func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }-func TestFsNewFsObjectNotFound(t *testing.T) { fstests.TestFsNewFsObjectNotFound(t) }-func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }-func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }-func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }-func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }-func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }-func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }-func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }-func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }-func TestFsNewFsObject(t *testing.T) { fstests.TestFsNewFsObject(t) }-func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }-func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }-func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }-func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }-func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }-func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }-func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }-func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }-func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }-func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }-func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }-func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }-func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }-func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }-func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }-func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }-func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }-func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }-func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }-func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }-func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }+func TestInit(t *testing.T) { fstests.TestInit(t) }+func TestFsString(t *testing.T) { fstests.TestFsString(t) }+func TestFsRmdirEmpty(t *testing.T) { fstests.TestFsRmdirEmpty(t) }+func TestFsRmdirNotFound(t *testing.T) { fstests.TestFsRmdirNotFound(t) }+func TestFsMkdir(t *testing.T) { fstests.TestFsMkdir(t) }+func TestFsListEmpty(t *testing.T) { fstests.TestFsListEmpty(t) }+func TestFsListDirEmpty(t *testing.T) { fstests.TestFsListDirEmpty(t) }+func TestFsNewObjectNotFound(t *testing.T) { fstests.TestFsNewObjectNotFound(t) }+func TestFsPutFile1(t *testing.T) { fstests.TestFsPutFile1(t) }+func TestFsPutFile2(t *testing.T) { fstests.TestFsPutFile2(t) }+func TestFsUpdateFile1(t *testing.T) { fstests.TestFsUpdateFile1(t) }+func TestFsListDirFile2(t *testing.T) { fstests.TestFsListDirFile2(t) }+func TestFsListDirRoot(t *testing.T) { fstests.TestFsListDirRoot(t) }+func TestFsListSubdir(t *testing.T) { fstests.TestFsListSubdir(t) }+func TestFsListLevel2(t *testing.T) { fstests.TestFsListLevel2(t) }+func TestFsListFile1(t *testing.T) { fstests.TestFsListFile1(t) }+func TestFsNewObject(t *testing.T) { fstests.TestFsNewObject(t) }+func TestFsListFile1and2(t *testing.T) { fstests.TestFsListFile1and2(t) }+func TestFsCopy(t *testing.T) { fstests.TestFsCopy(t) }+func TestFsMove(t *testing.T) { fstests.TestFsMove(t) }+func TestFsDirMove(t *testing.T) { fstests.TestFsDirMove(t) }+func TestFsRmdirFull(t *testing.T) { fstests.TestFsRmdirFull(t) }+func TestFsPrecision(t *testing.T) { fstests.TestFsPrecision(t) }+func TestObjectString(t *testing.T) { fstests.TestObjectString(t) }+func TestObjectFs(t *testing.T) { fstests.TestObjectFs(t) }+func TestObjectRemote(t *testing.T) { fstests.TestObjectRemote(t) }+func TestObjectHashes(t *testing.T) { fstests.TestObjectHashes(t) }+func TestObjectModTime(t *testing.T) { fstests.TestObjectModTime(t) }+func TestObjectSetModTime(t *testing.T) { fstests.TestObjectSetModTime(t) }+func TestObjectSize(t *testing.T) { fstests.TestObjectSize(t) }+func TestObjectOpen(t *testing.T) { fstests.TestObjectOpen(t) }+func TestObjectUpdate(t *testing.T) { fstests.TestObjectUpdate(t) }+func TestObjectStorable(t *testing.T) { fstests.TestObjectStorable(t) }+func TestFsIsFile(t *testing.T) { fstests.TestFsIsFile(t) }+func TestFsIsFileNotFound(t *testing.T) { fstests.TestFsIsFileNotFound(t) }+func TestObjectRemove(t *testing.T) { fstests.TestObjectRemove(t) }+func TestObjectPurge(t *testing.T) { fstests.TestObjectPurge(t) }+func TestFinalise(t *testing.T) { fstests.TestFinalise(t) }