Remote returns the remote path
()
| 1013 | |
| 1014 | // Remote returns the remote path |
| 1015 | func (o *Object) Remote() string { |
| 1016 | remote := o.Object.Remote() |
| 1017 | decryptedName, err := o.f.cipher.DecryptFileName(remote) |
| 1018 | if err != nil { |
| 1019 | fs.Debugf(remote, "Undecryptable file name: %v", err) |
| 1020 | return remote |
| 1021 | } |
| 1022 | return decryptedName |
| 1023 | } |
| 1024 | |
| 1025 | // Size returns the size of the file |
| 1026 | func (o *Object) Size() int64 { |
no test coverage detected