MCPcopy
hub / github.com/intentui/intentui / read

Function read

src/scripts/generate-registry.ts:136–136  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

134)
135
136const read = async (p: string) => fs.readFile(p, 'utf8')
137const write = async (p: string, c: string) => {
138 await fs.mkdir(path.dirname(p), { recursive: true })
139 await fs.writeFile(p, c, 'utf8')

Callers 7

collectBlocksFunction · 0.85
buildComponentItemFunction · 0.85
buildLibItemFunction · 0.85
buildHookItemFunction · 0.85
buildExampleItemFunction · 0.85
registryDepsForBlockFunction · 0.85
buildBlockItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected