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

Method change_not_found

atomic-core/src/apply/error.rs:530–535  ·  view source on GitHub ↗

Create a new change-not-found error. # Arguments `hash` - The hash of the missing change `path` - The expected path

(hash: Hash, path: impl Into<PathBuf>)

Source from the content-addressed store, hash-verified

528 /// * `hash` - The hash of the missing change
529 /// * `path` - The expected path
530 pub fn change_not_found(hash: Hash, path: impl Into<PathBuf>) -> Self {
531 Self::ChangeNotFound {
532 hash,
533 path: path.into(),
534 }
535 }
536
537 /// Check if this is a local apply error.
538 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected