Expand description
Editor-facing analysis contracts shared by LSP and future editor adapters.
Modules§
Structs§
- Editor
Analysis Output - Dead-code and duplication output shaped for editor integrations.
- Editor
Analysis Session - Reusable editor analysis session owned by the API boundary.
- Editor
Inline Complexity Finding - Editor-facing inline complexity signal for code lens and similar surfaces.
- Editor
Project Analysis Output - Dead-code and duplication project output owned by the editor API boundary.
Enums§
- Changed
Files Error - Classification of a
git difffailure, so callers can pick their own wording (soft warning vs hard error) without re-parsing stderr. - Editor
Inline Complexity Exceeded - Which health complexity threshold(s) a function exceeded.
Functions§
- collect_
inline_ complexity - Collect inline complexity findings from retained editor analysis artifacts.
- filter_
inline_ complexity_ by_ changed_ files - Filter inline complexity findings to the changed-file set.
- resolve_
git_ toplevel - Resolve the canonical git toplevel for
cwd. - try_
get_ changed_ files_ with_ toplevel - Like
try_get_changed_files, but takes a pre-resolved canonicaltoplevelso callers (the LSP) can cache it across runs and avoid the extragit rev-parse --show-toplevelsubprocess on every save.