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

Function xmlDocEnumComment

scripts/codegen/csharp.ts:208–211  ·  view source on GitHub ↗

Emits a summary from the schema description, or a generic fallback.

(description: string | undefined, indent: string)

Source from the content-addressed store, hash-verified

206
207/** Emits a summary from the schema description, or a generic fallback. */
208function xmlDocEnumComment(description: string | undefined, indent: string): string[] {
209 if (description) return xmlDocComment(description, indent);
210 return rawXmlDocSummary(`Defines the allowed values.`, indent);
211}
212
213function xmlDocEnumMemberComment(enumValueDescriptions: EnumValueDescriptions | undefined, value: string): string[] {
214 const description = enumValueDescriptions?.[value];

Callers 1

getOrCreateEnumFunction · 0.85

Calls 2

xmlDocCommentFunction · 0.85
rawXmlDocSummaryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…