Remote the name of the remote HTTP file, relative to the fs root
()
| 645 | |
| 646 | // Remote the name of the remote HTTP file, relative to the fs root |
| 647 | func (o *Object) Remote() string { |
| 648 | if o.contentDispositionFilename != nil { |
| 649 | return *o.contentDispositionFilename |
| 650 | } |
| 651 | return o.remote |
| 652 | } |
| 653 | |
| 654 | // Hash returns "" since HTTP (in Go or OpenSSH) doesn't support remote calculation of hashes |
| 655 | func (o *Object) Hash(ctx context.Context, r hash.Type) (string, error) { |
no outgoing calls