Skip to main content

Module audit

Module audit 

Source
Expand description

Find and remove stored host entries the write-time validator would refuse (#1906). Entries written before #1905 can hold anything — CJK sentences, dot-less words — and they sit in the profile matching nothing. One pass over every place a host list lives, so mur doctor, --fix and the profile-load warning cannot disagree about what is invalid.

Structs§

HostRepair
What remove_invalid_hosts did.
InvalidHost
One stored value the validator refuses.

Enums§

HostList
Which host list an entry lives in.

Functions§

invalid_hosts
Every invalid entry on profile, in profile order.
remove_invalid_hosts
Drop every invalid entry from profile in memory. Valid entries, their order, and every mode are left exactly as they were.