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:28 +01:00
parent 748ddade2f
commit c824d317e4
+1
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,
}
}