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

Method metadata

atomic-core/src/change/provenance/builder.rs:155–158  ·  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

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

Calls 1

pushMethod · 0.45

Tested by 2