Expand description
Reusable storage primitives with private-at-creation state.
Structs§
- Secure
Directory - A held storage directory; missing components are created privately.
- Secure
Directory Lock - A held lock authorizing lock/reread/replace transactions in one directory.
Enums§
- Secure
Store Error - Fail-closed storage errors with no file contents or secret values.
Constants§
- DEFAULT_
LOCK_ BUDGET - Default budget for bounded cross-process store locks.
Functions§
- lock_
within_ file - Bounded retry of
try_lock_once;truewhen acquired withinbudget. - try_
lock_ once - Attempts one nonblocking exclusive lock on an already-open file.
- unlock
- Releases an exclusive lock held on
file.