Skip to main content

Module loader

Module loader 

Source
Expand description

Load rules from disk: a single TOML rule file, or a directory of them.

Functions§

load_rule_dir
Load every .toml rule directly under dir, sorted by filename for a deterministic order. Non-.toml files and subdirectories are ignored.
load_rule_file
Load a single rule from a .toml file.