MCPcopy Index your code
hub / github.com/rclone/rclone / markDirModifiedObject

Method markDirModifiedObject

fs/sync/sync.go:1092–1098  ·  view source on GitHub ↗

like markDirModified, but accepts an Object instead of a string. the marked dir will be this object's parent.

(o fs.Object)

Source from the content-addressed store, hash-verified

1090// like markDirModified, but accepts an Object instead of a string.
1091// the marked dir will be this object's parent.
1092func (s *syncCopyMove) markDirModifiedObject(o fs.Object) {
1093 dir := path.Dir(o.Remote())
1094 if dir == "." {
1095 dir = ""
1096 }
1097 s.markDirModified(dir)
1098}
1099
1100// copyDirMetadata copies the src directory modTime or Metadata to dst
1101// or f if nil. If dst is nil then it uses dir as the name of the new

Callers 2

pairCheckerMethod · 0.95
SrcOnlyMethod · 0.95

Calls 3

markDirModifiedMethod · 0.95
DirMethod · 0.80
RemoteMethod · 0.65

Tested by

no test coverage detected