MCPcopy
hub / github.com/rclone/rclone / ObjectInfo

Struct ObjectInfo

backend/crypt/crypt.go:1143–1147  ·  view source on GitHub ↗

ObjectInfo describes a wrapped fs.ObjectInfo for being the source This encrypts the remote name and adjusts the size

Source from the content-addressed store, hash-verified

1141//
1142// This encrypts the remote name and adjusts the size
1143type ObjectInfo struct {
1144 fs.ObjectInfo
1145 f *Fs
1146 nonce nonce
1147}
1148
1149func (f *Fs) newObjectInfo(src fs.ObjectInfo, nonce nonce) *ObjectInfo {
1150 return &ObjectInfo{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected