Expand description
The file index, as this crate’s callers reach it.
The type, the walk over it and the ranking live in
forge_workspace::file_index: two views read them - the web view’s
mention list and composer, and the seat’s own loop, which walks the
tree and pushes the index whole - so the crate they all read is where
they sit. This module is the path they were reached by.
Structs§
- File
Index - The files under one root, keyed by their path relative to it.
Functions§
- rank_
and_ truncate_ candidates - Best match first, then shallowest, then alphabetically, cut to
limit. - respect_
gitignore - Whether a walk honours gitignore, from the CLI’s per-user preferences
document: its
respectGitignorekey, absent or not a boolean reading astrue, which is the CLI’s own default. Every view reads the key here, so none can drift on how it is read.