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

Function is_absent_path_error

atomic-repository/src/repository/operation.rs:4899–4904  ·  view source on GitHub ↗
(error: &std::io::Error)

Source from the content-addressed store, hash-verified

4897}
4898
4899fn is_absent_path_error(error: &std::io::Error) -> bool {
4900 matches!(
4901 error.kind(),
4902 std::io::ErrorKind::NotFound | std::io::ErrorKind::NotADirectory
4903 )
4904}
4905
4906fn observe_path(path: &Path, recursive_directory: bool) -> Result<EffectValue, RepositoryError> {
4907 let metadata = match fs::symlink_metadata(path) {

Callers 2

observe_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected