mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 13:26:11 +08:00
fs: fix String() method on fs.OverrideRemote
Before this fix it was returning the base objects string rather than the overridden remote.
This commit is contained in:
parent
e649cf4d50
commit
d6667d34e7
|
@ -23,6 +23,11 @@ func (o *OverrideRemote) Remote() string {
|
|||
return o.remote
|
||||
}
|
||||
|
||||
// String returns the overridden remote name
|
||||
func (o *OverrideRemote) String() string {
|
||||
return o.remote
|
||||
}
|
||||
|
||||
// MimeType returns the mime type of the underlying object or "" if it
|
||||
// can't be worked out
|
||||
func (o *OverrideRemote) MimeType(ctx context.Context) string {
|
||||
|
|
Loading…
Reference in New Issue
Block a user