Put in to the remote path with the modTime given of the given size May create the object even if it returns an error - if so will return the object and the error, otherwise will return nil and the error
(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption)
| 568 | // will return the object and the error, otherwise will return |
| 569 | // nil and the error |
| 570 | func (f *Fs) Put(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) { |
| 571 | return f.put(ctx, in, src, options, f.Fs.Put) |
| 572 | } |
| 573 | |
| 574 | // PutStream uploads to the remote path with the modTime given of indeterminate size |
| 575 | func (f *Fs) PutStream(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) { |