Files
pdfcraft/crates/platform
FredApps 59cd00129c fix(platform): don't create a missing file when marking its zone (#8622)
On NTFS, writing <path>:Zone.Identifier creates <path> when it doesn't
exist. mark_from now returns NotFound for a target that isn't an existing
file, so marking a saved attachment never leaves an empty file behind.
This is what kept the Windows gate red on main: the scripted file service
records the save without touching disk, and the zone mark then created
the destination file.

Fixes #8622
2026-11-28 21:01:23 +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.