split returns bucket and bucketPath from the rootRelativePath relative to f.root
(rootRelativePath string)
| 240 | // split returns bucket and bucketPath from the rootRelativePath |
| 241 | // relative to f.root |
| 242 | func (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 |
no test coverage detected