NewObject finds the Object at remote. If it can't be found it returns the error fs.ErrorObjectNotFound.
(ctx context.Context, remote string)
| 2025 | // NewObject finds the Object at remote. If it can't be found |
| 2026 | // it returns the error fs.ErrorObjectNotFound. |
| 2027 | func (f *Fs) NewObject(ctx context.Context, remote string) (fs.Object, error) { |
| 2028 | return f.newObjectWithInfo(ctx, remote, nil, nil) |
| 2029 | } |
| 2030 | |
| 2031 | // Gets the bucket location |
| 2032 | func (f *Fs) getBucketLocation(ctx context.Context, bucket string) (string, error) { |