(tocFiles = CLOUD_TOC_LIST)
| 79 | ]; |
| 80 | |
| 81 | export 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 | |
| 89 | const checkDestDir = (destPath) => { |
| 90 | const dir = path.dirname(destPath); |
nothing calls this directly
no test coverage detected