Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Snailclimb/JavaGuide
/ readSitemap
Function
readSitemap
scripts/docsearch-index.mjs:67–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
}
66
67
async
function
readSitemap() {
68
if
(!sourceDir) {
69
return
fetchText(sitemapUrl);
70
}
71
72
return
readFile(path.join(sourceDir,
"sitemap.xml"
),
"utf8"
);
73
}
74
75
async
function
readPageHtml(url) {
76
if
(!sourceDir) {
Callers
1
main
Function · 0.85
Calls
1
fetchText
Function · 0.85
Tested by
no test coverage detected