isRecomputable property
bool
get
isRecomputable
Whether a reader of this protocol version can recompute the digest and therefore judge whether it matches the catalog it arrived with.
Requires coversFullyRead: a coverage this reader only partly understood cannot be compared against anything, because the part it could not read is exactly the part that would make the comparison wrong.
Implementation
bool get isRecomputable =>
coversFullyRead &&
algorithm == patchbayDigestAlgorithmSha256 &&
covers.length == 1 &&
covers.single == patchbayCatalogDigestScopeCommands;