(filename: string)
| 116 | } |
| 117 | |
| 118 | export function isCodeFile(filename: string): boolean { |
| 119 | const { base, ext } = normName(filename) |
| 120 | if (isSpecialCodeName(base)) return true |
| 121 | return CODE_EXTS.has(ext) |
| 122 | } |
| 123 | |
| 124 | // Check if file format has a supported previewer |
| 125 | export function isSupportedPreview(filename: string): boolean { |
no test coverage detected
searching dependent graphs…