Module cargo_culture_kit::checklist[][src]

Helper functions related to the interpretation and filtering of Rule description checklists.

These checklists can be encoded as a line-delimited file of Rule descriptions.

Enums

FilterError

Errors specific to filtering down a set of Rules based on a checklist of Rule descriptions.

Constants

DEFAULT_CULTURE_CHECKLIST_FILE_NAME

The default name for a culture Rule checklist file, used when searching for a checklist file

Functions

filter_to_requested_rules_by_description

Produces a filtered subset of the provided Rules by matching their descriptions to the members of the the desired_rule_descriptions slice.

filter_to_requested_rules_from_checklist_file

Produces a filtered subset of the provided Rules by matching their descriptions to the lines of the the file specified by culture_checklist_file_path.

find_extant_culture_file

If the supplied initial_culture_file path is an extant file, just return that.