MCPcopy Create free account
hub / github.com/Tencent/teamai-cli / isKeyFile

Function isKeyFile

src/wiki-engine/code-knowledge/code-collector.ts:29–33  ·  view source on GitHub ↗
(relativePath: string, language: string)

Source from the content-addressed store, hash-verified

27};
28
29export function isKeyFile(relativePath: string, language: string): boolean {
30 const patterns = KEY_FILE_PATTERNS[language];
31 if (!patterns) return false;
32 return patterns.some((pattern) => pattern.test(relativePath));
33}
34
35export interface CodeCollectionManifest {
36 schemaVersion: "team-wiki.code-collection.v1";

Callers 1

collectCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected