MCPcopy
hub / github.com/Fission-AI/OpenSpec / createDirectory

Method createDirectory

src/utils/file-system.ts:134–136  ·  view source on GitHub ↗
(dirPath: string)

Source from the content-addressed store, hash-verified

132 }
133
134 static async createDirectory(dirPath: string): Promise<void> {
135 await fs.mkdir(dirPath, { recursive: true });
136 }
137
138 static async fileExists(filePath: string): Promise<boolean> {
139 try {

Callers 7

writeFileMethod · 0.95
createChangeFunction · 0.80
writeFileAtomicallyFunction · 0.80
acquireFileLockFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected