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

Method with_prefix

atomic-core/src/record/detect.rs:235–238  ·  view source on GitHub ↗

Set the prefix filter. # Arguments `prefix` - Path prefix to filter files

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

Source from the content-addressed store, hash-verified

233 ///
234 /// * `prefix` - Path prefix to filter files
235 pub fn with_prefix(mut self, prefix: impl Into<String>) -> Self {
236 self.prefix = prefix.into();
237 self
238 }
239
240 /// Set the maximum file size to diff.
241 ///

Callers 6

test_options_prefixFunction · 0.45
test_options_chainingFunction · 0.45
test_options_cloneFunction · 0.45

Calls

no outgoing calls

Tested by 6

test_options_prefixFunction · 0.36
test_options_chainingFunction · 0.36
test_options_cloneFunction · 0.36