MCPcopy
hub / github.com/rclone/rclone / update

Method update

backend/union/entry.go:40–44  ·  view source on GitHub ↗

Update o with the contents of newO excluding the lock

(newO *Object)

Source from the content-addressed store, hash-verified

38
39// Update o with the contents of newO excluding the lock
40func (o *Object) update(newO *Object) {
41 o.Object = newO.Object
42 o.fs = newO.fs
43 o.co = newO.co
44}
45
46// UnWrapUpstream returns the upstream Object that this Object is wrapping
47func (o *Object) UnWrapUpstream() *upstream.Object {

Callers 3

UpdateMethod · 0.95
check_docsFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected