Expand description
Parse .LICENSE and .RULE files.
This module provides two-stage loading:
- Loader-stage: Parse files into
LoadedRuleandLoadedLicense - Build-stage: Convert to runtime
RuleandLicense(deprecated filtering, etc.)
The loader-stage functions (parse_rule_to_loaded, parse_license_to_loaded,
load_loaded_rules_from_directory, load_loaded_licenses_from_directory) return
all entries including deprecated ones. Deprecated filtering is a build-stage concern.
Functionsยง
- load_
licenses_ from_ directory - Load all .LICENSE files from a directory into
Licensevalues (backward-compatible). - load_
loaded_ licenses_ from_ directory - Load all .LICENSE files from a directory into
LoadedLicensevalues (loader-stage). - load_
loaded_ rules_ from_ directory - Load all .RULE files from a directory into
LoadedRulevalues (loader-stage). - load_
rules_ from_ directory - Load all .RULE files from a directory into
Rulevalues (backward-compatible). - parse_
license_ to_ loaded - Parse a .LICENSE file into a
LoadedLicense(loader-stage). - parse_
rule_ to_ loaded - Parse a .RULE file into a
LoadedRule(loader-stage).