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

Method prefix

atomic-core/src/record/workflow/detect/mod.rs:128–132  ·  view source on GitHub ↗
(mut self, prefix: impl Into<String>)

Source from the content-addressed store, hash-verified

126 /// ```
127 #[must_use]
128 pub fn prefix(mut self, prefix: impl Into<String>) -> Self {
129 let p = prefix.into();
130 self.prefix = if p.is_empty() { None } else { Some(p) };
131 self
132 }
133
134 /// Set the diff algorithm.
135 ///

Callers 5

test_options_prefixFunction · 0.45
test_options_cloneFunction · 0.45

Calls 1

is_emptyMethod · 0.45

Tested by 5

test_options_prefixFunction · 0.36
test_options_cloneFunction · 0.36