NewObject finds the Object at remote.
(ctx context.Context, remote string)
| 484 | |
| 485 | // NewObject finds the Object at remote. |
| 486 | func (f *Fs) NewObject(ctx context.Context, remote string) (fs.Object, error) { |
| 487 | o, err := f.Fs.NewObject(ctx, f.cipher.EncryptFileName(remote)) |
| 488 | if err != nil { |
| 489 | return nil, err |
| 490 | } |
| 491 | return f.newObject(o), nil |
| 492 | } |
| 493 | |
| 494 | type putFn func(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) |
| 495 |
no test coverage detected