(lang: string)
| 97 | * @returns {string} Path to the content directory for the specified language |
| 98 | */ |
| 99 | export function getContentDir(lang: string) { |
| 100 | const { contentDir, i18nContentDir } = getContentConfig(lang); |
| 101 | |
| 102 | return lang === 'english' ? contentDir : i18nContentDir; |
| 103 | } |
| 104 | |
| 105 | export function getCurriculumStructure() { |
| 106 | const curriculumPath = resolve(STRUCTURE_DIR, 'curriculum.json'); |
no test coverage detected