(fileBuffer: Buffer)
| 46 | const BINARY_EXTENSIONS = new Set<string>(binaryExtensionsList) |
| 47 | |
| 48 | function isLikelyTextBuffer(fileBuffer: Buffer): boolean { |
| 49 | return isUtf8(fileBuffer) && !fileBuffer.includes(0) |
| 50 | } |
| 51 | |
| 52 | interface ExecutionContext { |
| 53 | workspaceId: string |
no outgoing calls
no test coverage detected