Files
pdfcraft/crates/platform
FredApps 59f8798200 fix(platform): hold the zone's target open, without delete sharing, until the stream is written
Addresses review: between the existence check and the stream write,
another process could delete or rename the target, and the write would
then recreate it as an empty file. The target is now opened without
FILE_SHARE_DELETE, so it can't be deleted or renamed until the zone is
written, and the check reads that handle's metadata.

Refs #8622
2026-11-28 22:38:02 +01:00
..

pdfcraft-platform

Layer L7 holds operating-system services that both the desktop app (pdfcraft-ui-egui) and the automation tools (pdfcraft-automation) need. Those two crates sit on the same layer and can't depend on each other, so a helper they share lives here instead of being copied into each (xtask/src/layers.rs allows both edges). It has no UI dependencies; macOS filesystem calls use the safe rustix wrapper.