Skip to main content

Module registry

Module registry 

Source
Expand description

Registry that runs every per-agent detector and returns sorted snapshots.

detect_all reads dirs::home_dir() and is the public entrypoint. detect_all_with_home is for tests / users who want to point at a sandboxed home (e.g. tempdir fixtures).

Functions§

detect_all
Run every detector against the user’s real home dir. Returns snapshots sorted by score (descending). Empty home → empty result.
detect_all_with_home
Run every detector against the given home dir. Used by tests with synthetic fixtures.