utils
Helper functions for the config module.
Classes¶
Functions:¶
get_all_file_configs
¶
get_all_file_configs(config_dict: dict) -> List[FileChange]
Make sure all version components are included.
get_all_part_configs
¶
get_all_part_configs(config_dict: dict) -> Dict[str, VersionComponentSpec]
Make sure all version components are included.
resolve_glob_files
¶
resolve_glob_files(file_cfg: FileChange) -> List[FileChange]
Return a list of file configurations that match the glob pattern.
| PARAMETER | DESCRIPTION |
|---|---|
file_cfg
|
The file configuration containing the glob pattern
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
List[FileChange]
|
A list of resolved file configurations according to the pattern. |