MCPcopy
hub / github.com/intentui/intentui / stagedPathFor

Function stagedPathFor

src/scripts/generate-registry.ts:328–331  ·  view source on GitHub ↗
(slug: string, fileAbs: string)

Source from the content-addressed store, hash-verified

326}
327
328const stagedPathFor = (slug: string, fileAbs: string) => {
329 const base = path.basename(fileAbs)
330 return path.join(STAGE_DIR, REGISTRY_STYLE, slug, base)
331}
332
333type FilePage = { type: 'registry:page'; path: string; target: string; content?: string }
334type FileOther = {

Callers 1

buildBlockItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected