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

Function emitRustArrayAlias

scripts/codegen/rust.ts:546–560  ·  view source on GitHub ↗
(
	typeName: string,
	schema: JSONSchema7,
	ctx: RustCodegenCtx,
	description?: string,
)

Source from the content-addressed store, hash-verified

544}
545
546function emitRustArrayAlias(
547 typeName: string,
548 schema: JSONSchema7,
549 ctx: RustCodegenCtx,
550 description?: string,
551): void {
552 if (ctx.generatedNames.has(typeName)) return;
553 emitRustTypeAlias(
554 typeName,
555 schema,
556 rustArrayType(schema, typeName, ctx),
557 ctx,
558 description,
559 );
560}
561
562function emitRustMapAlias(
563 typeName: string,

Callers 1

generateApiTypesCodeFunction · 0.85

Calls 2

emitRustTypeAliasFunction · 0.85
rustArrayTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…