(files: List[str])
| 57 | |
| 58 | |
| 59 | def check_files(files: List[str]) -> List[str]: |
| 60 | files = [ |
| 61 | f for f in files if not f.startswith("http://") |
| 62 | ] # exclude online files, http |
| 63 | files = [ |
| 64 | f for f in files if not f.startswith("https://") |
| 65 | ] # exclude online files, https |
| 66 | missing_files = [file for file in files if not os.path.exists(file)] |
| 67 | return missing_files |
| 68 | |
| 69 | |
| 70 | def translate_patch( |