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

Method metadata

atomic-core/src/change/provenance/builder.rs:156–159  ·  view source on GitHub ↗

Add metadata key-value pair.

(mut self, key: impl Into<String>, value: impl Into<String>)

Source from the content-addressed store, hash-verified

154
155 /// Add metadata key-value pair.
156 pub fn metadata(mut self, key: impl Into<String>, value: impl Into<String>) -> Self {
157 self.metadata.push((key.into(), value.into()));
158 self
159 }
160
161 /// Set the agent mode (e.g., "build", "code", "ask").
162 pub fn agent_mode(mut self, mode: impl Into<String>) -> Self {

Calls 1

pushMethod · 0.45

Tested by 2