(filePath)
| 88 | } |
| 89 | |
| 90 | export function isProbablyTextFile(filePath) { |
| 91 | return TEXT_EXTENSIONS.has(path.extname(filePath).toLowerCase()); |
| 92 | } |
| 93 | |
| 94 | export function toPosixPath(filePath) { |
| 95 | return filePath.split(path.sep).join("/"); |
no test coverage detected