Skip to main content

load

Function load 

Source
pub fn load() -> Result<Vec<UserRule>>
Expand description

The rows on disk that are still in force. An absent file is an empty list. Tombstones are left out. A file caught empty or half-written is the last copy that parsed, so a rewrite does not drop the rules.

ยงErrors

A dangling symlink, not a regular file of at most RULES_FILE_CAP bytes, or not readable.