radicle: Fix `storage::refs::Error::is_not_found`

Detection of errors of the "not found" kind does not account for the
respective variant in `sigrefs::read::error::Read`. Fix this by adding
it.
This commit is contained in:
Lorenz Leutgeb 2026-03-18 18:55:15 +01:00
parent 748ddade2f
commit c824d317e4
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ impl Error {
pub fn is_not_found(&self) -> bool {
match self {
Self::Git(e) => e.is_not_found(),
Self::Read(sigrefs::read::error::Read::MissingSigrefs { .. }) => true,
_ => false,
}
}