Skip to main content

Crate file_parse_cache

Crate file_parse_cache 

Source

Structs§

Blake3Stamp
32-byte BLAKE3 digest, wrapped for trait impls.
ContentHashFingerprint
BLAKE3 hash of the full file content. Robust against mtime resets, but reads the entire file on every check.
FileParseCache
Mtime-gated (or content-hash-gated) file parse cache.
MtimeFingerprint
Compares mtime from filesystem metadata. Cheap (one syscall), but can miss edits that land within the same second on coarse-grained filesystems, and reports false changes after git clone or cargo resets mtimes.
MtimeStamp
Seconds + nanoseconds since UNIX epoch. Negative secs for pre-epoch times.

Traits§

Fingerprint
Cheaply identifies whether a file’s content has changed since the last parse.