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

Method with_metadata

atomic-core/src/pristine/vault.rs:346–349  ·  view source on GitHub ↗

Builder: set metadata.

(mut self, metadata: serde_json::Value)

Source from the content-addressed store, hash-verified

344
345 /// Builder: set metadata.
346 pub fn with_metadata(mut self, metadata: serde_json::Value) -> Self {
347 self.metadata = Some(metadata);
348 self
349 }
350}
351
352/// A directed edge in the knowledge graph.

Callers 1

kg_node_new_and_builderFunction · 0.45

Calls

no outgoing calls

Tested by 1

kg_node_new_and_builderFunction · 0.36