MCPcopy
hub / github.com/rclone/rclone / Mkdir

Method Mkdir

backend/oracleobjectstorage/oracleobjectstorage.go:554–557  ·  view source on GitHub ↗

Mkdir creates the bucket if it doesn't exist

(ctx context.Context, dir string)

Source from the content-addressed store, hash-verified

552
553// Mkdir creates the bucket if it doesn't exist
554func (f *Fs) Mkdir(ctx context.Context, dir string) error {
555 bucketName, _ := f.split(dir)
556 return f.makeBucket(ctx, bucketName)
557}
558
559// makeBucket creates the bucket if it doesn't exist
560func (f *Fs) makeBucket(ctx context.Context, bucketName string) error {

Callers

nothing calls this directly

Calls 2

splitMethod · 0.95
makeBucketMethod · 0.95

Tested by

no test coverage detected