Skip to main content

Crate pathlint

Crate pathlint 

Source
Expand description

pathlint library โ€” verifies that commands on PATH resolve from the expected installer.

Modulesยง

catalog
Built-in source catalog and merge with user-defined sources.
catalog_view
Render the merged source catalog for pathlint catalog list.
cli
Command-line interface definitions.
config
TOML schema for pathlint.toml.
doctor
PATH-hygiene checks. Independent of [[expect]] evaluation.
expand
Environment-variable expansion and slash normalization.
init
pathlint init โ€” write a starter pathlint.toml in the current directory.
lint
Evaluate [[expect]] entries against the resolved PATH.
os_detect
Runtime OS classification used by [[expect]] os = [...] filters and [source.<name>] per-OS keys.
path_source
Acquire the PATH string for a chosen --target.
report
Format Outcomes into human-readable lines.
resolve
Resolve a command name against a PATH string, mirroring shell lookup semantics:
run
End-to-end orchestration: read config, build catalog, evaluate, print.