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

Function methodUsesInternalSchema

scripts/codegen/rust.ts:1819–1828  ·  view source on GitHub ↗
(
	schema: JSONSchema7 | null | undefined,
	defCollections: DefinitionCollections,
)

Source from the content-addressed store, hash-verified

1817}
1818
1819function methodUsesInternalSchema(
1820 schema: JSONSchema7 | null | undefined,
1821 defCollections: DefinitionCollections,
1822): boolean {
1823 if (!schema) return false;
1824
1825 const nonNullable = getNullableInner(schema) ?? schema;
1826 const resolved = resolveSchema(nonNullable, defCollections) ?? nonNullable;
1827 return isSchemaInternal(resolved);
1828}
1829
1830function pushNamespaceMethodBody(
1831 out: string[],

Callers 1

emitNamespaceMethodFunction · 0.85

Calls 3

getNullableInnerFunction · 0.85
resolveSchemaFunction · 0.85
isSchemaInternalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…