( srcPath, destPath, handler )
| 154 | }; |
| 155 | |
| 156 | export const copyDirectoryWithCustomContentSync = ( |
| 157 | srcPath, |
| 158 | destPath, |
| 159 | handler |
| 160 | ) => { |
| 161 | const allFiles = getAllFiles(srcPath); |
| 162 | allFiles.forEach((filePath) => { |
| 163 | const relativePath = path.relative(srcPath, filePath); |
| 164 | copyFileWithCustomContentSync(filePath, destPath + relativePath, handler); |
| 165 | }); |
| 166 | }; |
| 167 | |
| 168 | export const astNode2mdStr = (astNode) => { |
| 169 | const result = toMarkdown(astNode, { |
nothing calls this directly
no test coverage detected