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

Method with_metadata

atomic-core/src/output/mod.rs:392–395  ·  view source on GitHub ↗

Set custom metadata.

(mut self, metadata: FileMetadata)

Source from the content-addressed store, hash-verified

390
391 /// Set custom metadata.
392 pub fn with_metadata(mut self, metadata: FileMetadata) -> Self {
393 self.metadata = metadata;
394 self
395 }
396
397 /// Check if this is a zombie item.
398 pub fn is_zombie(&self) -> bool {

Calls

no outgoing calls