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

Function detectProjectFiles

src/tools/diagnostics/checkers.ts:156–162  ·  view source on GitHub ↗
(root: string)

Source from the content-addressed store, hash-verified

154
155/** Root-directory entry names, for checker detection. Never throws. */
156export async function detectProjectFiles(root: string): Promise<Set<string>> {
157 try {
158 return new Set(await fs.readdir(root));
159 } catch {
160 return new Set();
161 }
162}
163
164/** First checker whose detect() fires for the given root entries, or undefined. */
165export function pickChecker(files: Set<string>): CheckerSpec | undefined {

Callers 3

executeMethod · 0.85
verifyTouchedFilesFunction · 0.85
captureBaselineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected