MCPcopy Create free account
hub / github.com/github/docs / getDescription

Function getDescription

src/graphql/scripts/utils/schema-helpers.js:60–64  ·  view source on GitHub ↗
(rawDescription)

Source from the content-addressed store, hash-verified

58}
59
60async function getDescription(rawDescription) {
61 rawDescription = rawDescription.replace(singleQuotesInsteadOfBackticks, '`$1`')
62
63 return renderContent(addPeriod(rawDescription))
64}
65
66function getFullLink(baseType, id) {
67 return `/graphql/reference/${baseType}#${id}`

Callers 1

getArgumentsFunction · 0.85

Calls 2

renderContentFunction · 0.85
addPeriodFunction · 0.85

Tested by

no test coverage detected