MCPcopy Index your code
hub / github.com/pingcap/docs-cn / getAllCloudMdList

Function getAllCloudMdList

scripts/utils.js:81–87  ·  view source on GitHub ↗
(tocFiles = CLOUD_TOC_LIST)

Source from the content-addressed store, hash-verified

79];
80
81export const getAllCloudMdList = (tocFiles = CLOUD_TOC_LIST) => {
82 // Get all MD files from multiple TOCs and deduplicate
83 const allFilteredLinkLists = tocFiles.map((tocFile) => getAllMdList(tocFile));
84 const flattenedList = allFilteredLinkLists.flat();
85 const allFilePaths = [...new Set(flattenedList)]; // Deduplicate
86 return allFilePaths;
87};
88
89const checkDestDir = (destPath) => {
90 const dir = path.dirname(destPath);

Callers

nothing calls this directly

Calls 1

getAllMdListFunction · 0.85

Tested by

no test coverage detected