(filename: string)
| 125 | } |
| 126 | |
| 127 | export function isImageFile(filename: string): boolean { |
| 128 | const ext = getExtension(filename) |
| 129 | return IMAGE_EXTENSIONS.has(ext) |
| 130 | } |
| 131 | |
| 132 | export function fileIcon(fileType: string, name: string): string { |
| 133 | if (fileType === 'Directory') { |
no test coverage detected