MCPcopy Index your code
hub / github.com/github/copilot-sdk / loadManifest

Function loadManifest

scripts/docs-validation/validate.ts:32–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32function loadManifest(): Manifest {
33 const manifestPath = path.join(VALIDATION_DIR, "manifest.json");
34 if (!fs.existsSync(manifestPath)) {
35 console.error(
36 "❌ No manifest found. Run extraction first: npm run extract",
37 );
38 process.exit(1);
39 }
40 return JSON.parse(fs.readFileSync(manifestPath, "utf-8"));
41}
42
43async function validateTypeScript(): Promise<ValidationResult[]> {
44 const results: ValidationResult[] = [];

Callers 5

validateTypeScriptFunction · 0.85
validatePythonFunction · 0.85
validateGoFunction · 0.85
validateCSharpFunction · 0.85
validateJavaFunction · 0.85

Calls 3

joinMethod · 0.80
parseMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…