(path: string)
| 4 | const BINARY_EXTENSIONS = ['.png', '.jpg', '.jpeg', '.gif', '.svg', '.ico'] |
| 5 | |
| 6 | export function isBinaryFile(path: string): boolean { |
| 7 | return BINARY_EXTENSIONS.includes(extnamePath(path)) |
| 8 | } |
| 9 | |
| 10 | export function isBase64(content: string): boolean { |
| 11 | return content.startsWith('base64::') |
nothing calls this directly
no test coverage detected