MCPcopy Create free account
hub / github.com/PatrickSys/codebase-context / isBinaryFile

Function isBinaryFile

src/utils/language-detection.ts:210–213  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

208 * Check if a file is binary
209 */
210export function isBinaryFile(filePath: string): boolean {
211 const ext = path.extname(filePath).toLowerCase();
212 return binaryExtensions.has(ext);
213}
214
215/**
216 * Check if file is a test file

Callers 1

scanFilesMethod · 0.85

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected