MCPcopy
hub / github.com/rclone/rclone / WithMetadata

Method WithMetadata

fs/object/object.go:53–56  ·  view source on GitHub ↗

WithMetadata adds meta to the ObjectInfo

(meta fs.Metadata)

Source from the content-addressed store, hash-verified

51
52// WithMetadata adds meta to the ObjectInfo
53func (i *StaticObjectInfo) WithMetadata(meta fs.Metadata) *StaticObjectInfo {
54 i.meta = meta
55 return i
56}
57
58// WithMimeType adds meta to the ObjectInfo
59func (i *StaticObjectInfo) WithMimeType(mimeType string) *StaticObjectInfo {

Callers 2

testMetadataPathsMethod · 0.95
PutTestContentsMetadataFunction · 0.95

Calls

no outgoing calls

Tested by 1

testMetadataPathsMethod · 0.76