MCPcopy Create free account
hub / github.com/fbeline/design-patterns-JS / makeTopic

Function makeTopic

scripts/build-docs.js:24–29  ·  view source on GitHub ↗
( sectionName )

Source from the content-addressed store, hash-verified

22});
23
24const makeTopic = ( sectionName ) => ( name ) => ({
25 name,
26 path: `${SOURCE_DIR}/${sectionName}/${name}`,
27 files: [],
28 tests: [],
29});
30
31/* Utility functions */
32const getFileContents = ( path ) => fs.existsAsync( path )

Callers 1

build-docs.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected