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

Method with_usage

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

Builder: set the usage context.

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

Source from the content-addressed store, hash-verified

314
315 /// Builder: set the usage context.
316 pub fn with_usage(mut self, usage: impl Into<String>) -> Self {
317 self.usage = Some(usage.into());
318 self
319 }
320
321 /// Builder: set the edit flag.
322 pub fn with_edit(mut self, edit: bool) -> Self {

Callers 1

test_record_with_usageFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_record_with_usageFunction · 0.36