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

Function is_not_found

atomic-repository/src/repository/database.rs:255–259  ·  view source on GitHub ↗
(error: &PristineError)

Source from the content-addressed store, hash-verified

253}
254
255fn is_not_found(error: &PristineError) -> bool {
256 matches!(error, PristineError::Database(inner)
257 if matches!(inner.as_ref(), redb::DatabaseError::Storage(redb::StorageError::Io(io))
258 if io.kind() == std::io::ErrorKind::NotFound))
259}

Callers 1

ensure_databaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected