Skip to main content

Module file_id

Module file_id 

Source

Structs§

FileId
Stable numeric identity for a source file within one analysis session. Assigned when the file is first registered; never reused within that session. Small, Copy, and cheap to hash — used as HashMap keys in hot-path structures (cache entries, reverse-dep graph) instead of heap-allocated path strings.
FileIdMap
Bidirectional mapping between file paths and stable FileIds.