Caching: a binary-encoded stamp is refused; directory manifest readers name their stamp rule; the I/O refusal test fails the real read
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
39e8ab5efd
commit
6adc321a73
4 changed files with 13 additions and 19 deletions
|
|
@ -223,7 +223,7 @@ namespace GameCult.Caching.Tests
|
|||
}
|
||||
|
||||
private CultPersistedRecord ManifestRecord(CultRecordKey key) =>
|
||||
CultDocumentMessagePackSerialization.DeserializeSnapshot(File.ReadAllBytes(_manifest)).Records.Single(record => record.Key == key.Value);
|
||||
CultDocumentMessagePackSerialization.DeserializeSnapshot(File.ReadAllBytes(_manifest), _ => { }).Records.Single(record => record.Key == key.Value);
|
||||
|
||||
private string PagePath(byte[] identity) =>
|
||||
Path.Combine(_records, BitConverter.ToString(identity).Replace("-", string.Empty).ToLowerInvariant() + ".msgpack");
|
||||
|
|
|
|||
Loading…
Reference in a new issue