Expand description
Constants§
- PRIVATE_
FILE_ MODE - Default private runtime-state mode on Unix hosts.
Statics§
Functions§
- append_
file_ within - Appends bytes to a regular file below an explicit capability root.
- append_
json_ record_ once - Writes a local JSONL outbox delivery once across retries and processes. A separate OS-locked companion survives atomic destination replacement. Both reading and replacement are bounded to 64 MiB; incomplete records fail closed instead of losing existing output or duplicating a delivery.
- atomic_
write 🔒 - Replaces a file through a same-directory durable temporary file.
- ensure_
directory - Ensures directory.
- sync_
directory 🔒 - Performs sync directory.
- temporary_
path 🔒 - Builds the temporary path.
- validate_
write_ 🔒destination - Resolves a write destination below a trusted root without following a final symlink.
- write_
binary_ file - Writes bytes using the destination directory as the least-authority capability root.
- write_
file_ within - Writes bytes below an explicit capability root through durable atomic replacement.
- write_
text_ file - Writes a text document through durable atomic replacement.