From 7acc51eebb5bbc838792452abef9aadcd469f8a9 Mon Sep 17 00:00:00 2001 From: Libby Date: Thu, 12 Nov 2026 22:33:07 +0000 Subject: [PATCH] cultcache-rs: the Windows parent-sync comment no longer credits MoveFileExW alone with durability Co-Authored-By: Claude Sonnet 5.5 --- packages/cultcache-rs/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cultcache-rs/src/lib.rs b/packages/cultcache-rs/src/lib.rs index 595f2d2a..4b51611f 100644 --- a/packages/cultcache-rs/src/lib.rs +++ b/packages/cultcache-rs/src/lib.rs @@ -4741,7 +4741,8 @@ fn injected_write_fault(_step: WriteStep) -> std::io::Result<()> { #[cfg(windows)] fn sync_parent_directory(_path: &Path) -> Result<()> { - // MoveFileExW with MOVEFILE_WRITE_THROUGH owns publication durability. + // Publication durability is the replace's: the MoveFileExW fallback writes through; the POSIX-semantics + // rename has no write-through flag and its durability is unmeasured (follow-up windows-replace-run-and-durability). Ok(()) }