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

Method file_not_found

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

Create a `FileNotFound` error for the given path.

(path: P)

Source from the content-addressed store, hash-verified

478
479 /// Create a `FileNotFound` error for the given path.
480 pub fn file_not_found<P: Into<PathBuf>>(path: P) -> Self {
481 Self::FileNotFound { path: path.into() }
482 }
483
484 /// Create a `ChangeNotFound` error for the given hash.
485 pub fn change_not_found(hash: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected