Expand description
Private local-file machinery used by storage and store-directory capabilities.
Structs§
- Atomic
Staged File - A provider download path that becomes visible at its destination only after the caller has verified the completed file.
- Open
File - One open file handle serving positioned reads of a local plaintext file.
- Published
Atomic File - A staged file that has been installed at its destination while the caller’s durable transaction is still deciding whether that installation commits.
Enums§
Constants§
- TEMP_
BLOB_ PREFIX - The filename prefix an atomic blob write gives its in-progress temp sibling
(
.tmp.<uuid>) before the owning durability policy and rename make it the committed destination.
Traits§
Functions§
- file_
facts - Size and SHA-256 digest of the file at
path, streamed. The one filesystem primitive for computing a file’s identity facts; callers hold the protocol reference and compare. - file_
facts_ with_ progress - Size and SHA-256 digest of the file at
path, reporting cumulative bytes consumed after each read. - file_
len