(file: HttpImportFile, raw: unknown)
| 109 | } |
| 110 | |
| 111 | function isFolderFile(file: HttpImportFile, raw: unknown): boolean { |
| 112 | const info = getInfo(raw) |
| 113 | return ( |
| 114 | /(?:^|\/)folder\.ya?ml$/i.test(normalizePath(file.name)) |
| 115 | || info.type === 'folder' |
| 116 | ) |
| 117 | } |
| 118 | |
| 119 | function isRequestFile(raw: unknown): raw is UnknownRecord { |
| 120 | const info = getInfo(raw) |
no test coverage detected