file_exists¶
Summary¶
- file_exists(yaml_filename: str, filenames_of_same_type: list[str]) bool¶
Checks to see if file referenced in the descriptor actually exists on disk.
- Parameters:
yaml_filename (str) – The filename as listed in the descriptor.
filenames_of_same_type (list[str]) – The list of files of that type that were actually found on disk.
- Returns:
True if the file exists, False if it doesn’t.
- Return type:
bool
Importing¶
from cs_board_tools.validation.naming import file_exists