Resume verified preambles while preparing desktop bibliographies

This commit is contained in:
gloamxun committed 2026-12-03 12:55:13 +08:00
1 parent 32cfd6240a
commit fd16e9a740
8 files changed
+270 -48

No files matched your search

+8
View File
@@ -759,6 +759,14 @@ impl Files {
ReplayBoundary { entry_bytes, state }
}
pub(super) fn opening_replay_boundary(&self) -> Option<ReplayBoundary> {
// An attempted open can already have touched a file even if it
// ultimately reports a failure. Live replay may only write its log.
self.stream_io.events().iter().all(|event| {
!matches!(event.effect, StreamEffect::OpenOutputRequested { .. })
}).then(|| self.replay_boundary())
}
pub(super) fn replay_world(&self) -> &FileWorld {
&self.world
}