MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / with_metadata

Method with_metadata

atomic-core/src/record/detect.rs:558–561  ·  view source on GitHub ↗

Set the metadata for this change.

(mut self, metadata: FileMetadata)

Source from the content-addressed store, hash-verified

556
557 /// Set the metadata for this change.
558 pub fn with_metadata(mut self, metadata: FileMetadata) -> Self {
559 self.metadata = Some(metadata);
560 self
561 }
562
563 /// Set the size for this change.
564 pub fn with_size(mut self, size: u64) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1