| 139 | |
| 140 | |
| 141 | def resolve_file_paths(directory_path : str) -> List[str]: |
| 142 | file_paths : List[str] = [] |
| 143 | |
| 144 | if is_directory(directory_path): |
| 145 | file_names_and_extensions = sorted(os.listdir(directory_path)) |
| 146 | |
| 147 | for file_name_and_extension in file_names_and_extensions: |
| 148 | if not file_name_and_extension.startswith(('.', '__')): |
| 149 | file_path = os.path.join(directory_path, file_name_and_extension) |
| 150 | file_paths.append(file_path) |
| 151 | |
| 152 | return file_paths |
| 153 | |
| 154 | |
| 155 | def resolve_file_pattern(file_pattern : str) -> List[str]: |