MCPcopy
hub / github.com/rclone/rclone / split

Method split

backend/oracleobjectstorage/oracleobjectstorage.go:242–245  ·  view source on GitHub ↗

split returns bucket and bucketPath from the rootRelativePath relative to f.root

(rootRelativePath string)

Source from the content-addressed store, hash-verified

240// split returns bucket and bucketPath from the rootRelativePath
241// relative to f.root
242func (f *Fs) split(rootRelativePath string) (bucketName, bucketPath string) {
243 bucketName, bucketPath = bucket.Split(path.Join(f.root, rootRelativePath))
244 return f.opt.Enc.FromStandardName(bucketName), f.opt.Enc.FromStandardPath(bucketPath)
245}
246
247// List the objects and directories in dir into entries. The
248// entries can be returned in any order but should be for a

Callers 5

ListPMethod · 0.95
MkdirMethod · 0.95
RmdirMethod · 0.95
ListRMethod · 0.95

Calls 4

SplitFunction · 0.92
JoinMethod · 0.80
FromStandardNameMethod · 0.65
FromStandardPathMethod · 0.65

Tested by

no test coverage detected