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

Method view

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

Set the view to use.

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

Source from the content-addressed store, hash-verified

317
318 /// Set the view to use.
319 pub fn view(mut self, name: impl Into<String>) -> Self {
320 self.view = Some(name.into());
321 self
322 }
323
324 /// Set a prefix for all paths.
325 pub fn with_prefix(mut self, prefix: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected