MCPcopy
hub / github.com/rclone/rclone / newObjectInfo

Method newObjectInfo

backend/crypt/crypt.go:1149–1155  ·  view source on GitHub ↗
(src fs.ObjectInfo, nonce nonce)

Source from the content-addressed store, hash-verified

1147}
1148
1149func (f *Fs) newObjectInfo(src fs.ObjectInfo, nonce nonce) *ObjectInfo {
1150 return &ObjectInfo{
1151 ObjectInfo: src,
1152 f: f,
1153 nonce: nonce,
1154 }
1155}
1156
1157// Fs returns read only access to the Fs that this object is part of
1158func (o *ObjectInfo) Fs() fs.Info {

Callers 3

putMethod · 0.95
PutUncheckedMethod · 0.95
testObjectInfoFunction · 0.80

Calls

no outgoing calls

Tested by 1

testObjectInfoFunction · 0.64