Rename NewFsObject to NewObject

This commit is contained in:
Nick Craig-Wood
2016-06-28 08:51:57 +01:00
parent 1a87b69376
commit b1f131964e
23 changed files with 512 additions and 512 deletions
+2 -2
View File
@@ -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)
}