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

Method with_usage

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

Builder: set the usage context.

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

Source from the content-addressed store, hash-verified

303
304 /// Builder: set the usage context.
305 pub fn with_usage(mut self, usage: impl Into<String>) -> Self {
306 self.usage = Some(usage.into());
307 self
308 }
309
310 /// Builder: set the edit flag.
311 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