MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / hasBinaryExtension

Function hasBinaryExtension

src/utils/binary.ts:76–79  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

74]);
75
76export function hasBinaryExtension(filePath: string): boolean {
77 const ext = filePath.toLowerCase().slice(filePath.lastIndexOf('.'));
78 return BINARY_EXTENSIONS.has(ext);
79}

Callers 2

executeMethod · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected