MCPcopy Index your code
hub / github.com/angular/angular-cli / createDir

Function createDir

tests/e2e/utils/fs.ts:32–34  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

30}
31
32export function createDir(path: string): Promise<string | undefined> {
33 return fs.mkdir(path, { recursive: true });
34}
35
36export async function copyFile(from: string, to: string): Promise<void> {
37 await createDir(dirname(to));

Calls 1

mkdirMethod · 0.65

Tested by

no test coverage detected