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

Method repository_not_found

atomic-cli/src/error.rs:468–472  ·  view source on GitHub ↗

Create a `RepositoryNotFound` error for the given path.

(path: P)

Source from the content-addressed store, hash-verified

466
467 /// Create a `RepositoryNotFound` error for the given path.
468 pub fn repository_not_found<P: Into<PathBuf>>(path: P) -> Self {
469 Self::RepositoryNotFound {
470 searched_path: path.into(),
471 }
472 }
473
474 /// Create a `ViewNotFound` error for the given name.
475 pub fn view_not_found(name: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected