pub fn load(path: &Path) -> Result<Option<SiteConfig>, SiteConfigError>Expand description
Read the policy at path.
Ok(None) means there is no policy on this machine, which is the ordinary
state and the reason the return type is an Option rather than a
SiteConfig with empty fields: a caller cannot then confuse “no policy” with
“a policy that permits everything”, and the two states print differently in
doctor.