MCPcopy
hub / github.com/rclone/rclone / Dir

Method Dir

vfs/file.go:722–726  ·  view source on GitHub ↗

Dir returns the directory this file is in

()

Source from the content-addressed store, hash-verified

720
721// Dir returns the directory this file is in
722func (f *File) Dir() *Dir {
723 f.mu.RLock()
724 defer f.mu.RUnlock()
725 return f.d
726}
727
728// VFS returns the instance of the VFS
729func (f *File) VFS() *VFS {

Callers 15

runMethod · 0.80
NewFsFunction · 0.80
receiveChangeNotifyMethod · 0.80
MkdirMethod · 0.80
RmdirMethod · 0.80
DirMoveMethod · 0.80
putMethod · 0.80
CopyMethod · 0.80
MoveMethod · 0.80
ExpireDirMethod · 0.80
ShallowDirectoryFunction · 0.80

Calls

no outgoing calls

Tested by 8

prepareServerFunction · 0.64
TestShellExpandFunction · 0.64
TestFileMethodsFunction · 0.64
testFileRenameFunction · 0.64
TestCacheNewFunction · 0.64
TestCacheOpenMkdirFunction · 0.64
TestConfigFileSaveFunction · 0.64