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

Method repository_exists

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

Create a `RepositoryExists` error for the given path. # Arguments `path` - The path where a repository already exists

(path: P)

Source from the content-addressed store, hash-verified

448 ///
449 /// * `path` - The path where a repository already exists
450 pub fn repository_exists<P: Into<PathBuf>>(path: P) -> Self {
451 Self::RepositoryExists { path: path.into() }
452 }
453
454 /// Create an `InvalidPath` error for the given path.
455 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected