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

Method with_metadata

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

Builder: set metadata.

(mut self, metadata: serde_json::Value)

Source from the content-addressed store, hash-verified

336
337 /// Builder: set metadata.
338 pub fn with_metadata(mut self, metadata: serde_json::Value) -> Self {
339 self.metadata = Some(metadata);
340 self
341 }
342}
343
344/// 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