MCPcopy Index your code
hub / github.com/github/docs / getNewTitleSetter

Function getNewTitleSetter

lib/render-content/plugins/rewrite-local-links.js:71–73  ·  view source on GitHub ↗
(child, href, context)

Source from the content-addressed store, hash-verified

69}
70
71async function getNewTitleSetter(child, href, context) {
72 child.value = await getNewTitle(href, context)
73}
74
75async function getNewTitle(href, context) {
76 const page = findPage(href, context.pages, context.redirects)

Callers 1

rewriteLocalLinksFunction · 0.85

Calls 1

getNewTitleFunction · 0.85

Tested by

no test coverage detected