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

Function is_absent_path_error

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

Source from the content-addressed store, hash-verified

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

Callers 2

observe_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected