MCPcopy Index your code
hub / github.com/freeCodeCamp/freeCodeCamp / getBlockStructurePath

Function getBlockStructurePath

curriculum/src/file-handler.ts:117–119  ·  view source on GitHub ↗
(block: string)

Source from the content-addressed store, hash-verified

115}
116
117export function getBlockStructurePath(block: string) {
118 return resolve(BLOCK_STRUCTURE_DIR, `${block}.json`);
119}
120
121export function getBlockStructureDir() {
122 return BLOCK_STRUCTURE_DIR;

Callers 4

renameBlockFunction · 0.90
getBlockStructureFunction · 0.85
writeBlockStructureFunction · 0.85
validateBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected