Structs§
- Analysis
Config - AppConfig
- Budget
Config - Per-language and total SLOC thresholds. Used with
--fail-on-budgetin CI. - Discovery
Config - GitConfig
- Non-secret git integration settings. Per-host credentials are intentionally NOT here —
tokens/keys live only in the environment (
SLOC_GIT_CRED_<HOST>,SLOC_GIT_SSHKEY_<HOST>) or theSLOC_GIT_CRED_FILE, never in a committed TOML. This section only carries the offline-import gate so operators who prefer a config file over env vars can set it there. Values here are applied to the environment at startup only if the corresponding env var is unset, so an explicit env var always wins (seeAppConfig::apply_git_settings_to_env). - Profile
Config - A named configuration profile.
- Reporting
Config - WebConfig
Enums§
- Binary
File Behavior - Blank
InBlock Comment Policy - IEEE 1045-1992: how blank lines that fall inside a block comment are classified.
- Continuation
Line Policy - IEEE 1045-1992: how backslash line continuations are handled for physical SLOC counting.
- Failure
Behavior - Mixed
Line Policy
Functions§
- validate_
hex_ color - Validates that
sis a CSS hex colour:#RGBor#RRGGBB.