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

Method split

backend/b2/b2.go:403–405  ·  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

401// split returns bucket and bucketPath from the rootRelativePath
402// relative to f.root
403func (f *Fs) split(rootRelativePath string) (bucketName, bucketPath string) {
404 return bucket.Split(path.Join(f.root, rootRelativePath))
405}
406
407// split returns bucket and bucketPath from the object
408func (o *Object) split() (bucket, bucketPath string) {

Callers 15

ListPMethod · 0.95
ListRMethod · 0.95
MkdirMethod · 0.95
RmdirMethod · 0.95
purgeMethod · 0.95
PublicLinkMethod · 0.95
lifecycleCommandMethod · 0.95
newLargeUploadMethod · 0.45
splitMethod · 0.45
copyMethod · 0.45
listAllFilesFunction · 0.45
read_docFunction · 0.45

Calls 2

SplitFunction · 0.92
JoinMethod · 0.80

Tested by 4

listAllFilesFunction · 0.36
read_backendsFunction · 0.36
write_allFunction · 0.36
test_serverFunction · 0.36