MCPcopy
hub / github.com/rclone/rclone / Object

Struct Object

backend/mega/mega.go:165–169  ·  view source on GitHub ↗

Object describes a mega object Will definitely have info but maybe not meta. Normally rclone would just store an ID here but go-mega and mega.nz expect you to build an entire tree of all the objects in memory. In this case we just store a pointer to the object.

Source from the content-addressed store, hash-verified

163// expect you to build an entire tree of all the objects in memory.
164// In this case we just store a pointer to the object.
165type Object struct {
166 fs *Fs // what this object is part of
167 remote string // The remote path
168 info *mega.Node // pointer to the mega node
169}
170
171// ------------------------------------------------------------
172

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected