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

Method with_usage

atomic-cli/src/commands/record/mod.rs:297–300  ·  view source on GitHub ↗

Builder: set the usage context.

(mut self, usage: impl Into<String>)

Source from the content-addressed store, hash-verified

295
296 /// Builder: set the usage context.
297 pub fn with_usage(mut self, usage: impl Into<String>) -> Self {
298 self.usage = Some(usage.into());
299 self
300 }
301
302 /// Builder: set the edit flag.
303 pub fn with_edit(mut self, edit: bool) -> Self {

Callers 1

test_record_with_usageFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_record_with_usageFunction · 0.64