MCPcopy Create free account
hub / github.com/FIND-Lab/AgentWard / isLikelyTextFile

Function isLikelyTextFile

layers/foundation-scan.ts:157–160  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

155}
156
157function isLikelyTextFile(filePath: string): boolean {
158 const ext = path.extname(filePath).toLowerCase();
159 return TEXT_EXTENSIONS.has(ext);
160}
161
162function listTextFilesRecursively(rootDir: string): string[] {
163 const files: string[] = [];

Callers 1

listTextFilesRecursivelyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected