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

Method with_prefix

atomic-repository/src/archive.rs:325–328  ·  view source on GitHub ↗

Set a prefix for all paths.

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

Source from the content-addressed store, hash-verified

323
324 /// Set a prefix for all paths.
325 pub fn with_prefix(mut self, prefix: impl Into<String>) -> Self {
326 self.prefix = Some(prefix.into());
327 self
328 }
329
330 /// Add include patterns.
331 pub fn include(mut self, patterns: &[&str]) -> Self {

Callers 2

Calls

no outgoing calls

Tested by 2