Mkdir creates the bucket if it doesn't exist
(ctx context.Context, dir string)
| 2819 | |
| 2820 | // Mkdir creates the bucket if it doesn't exist |
| 2821 | func (f *Fs) Mkdir(ctx context.Context, dir string) error { |
| 2822 | bucket, _ := f.split(dir) |
| 2823 | e := f.makeBucket(ctx, bucket) |
| 2824 | if e != nil { |
| 2825 | return e |
| 2826 | } |
| 2827 | return f.createDirectoryMarker(ctx, bucket, dir) |
| 2828 | } |
| 2829 | |
| 2830 | // mkdirParent creates the parent bucket/directory if it doesn't exist |
| 2831 | func (f *Fs) mkdirParent(ctx context.Context, remote string) error { |
no test coverage detected