MCPcopy Index your code
hub / github.com/nilbuild/developer-roadmap / getRoadmapIds

Function getRoadmapIds

sitemap.mjs:4–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import fs from 'node:fs/promises';
3
4async function getRoadmapIds() {
5 return fs.readdir(path.join(process.cwd(), 'src/roadmaps'));
6}
7
8export function shouldIndexPage(page) {
9 return ![

Callers 1

serializeSitemapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected