MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / ensureDir

Function ensureDir

packages/vite/helpers/prelink-angular.ts:15–17  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

13}
14
15async function ensureDir(p: string) {
16 await fs.mkdir(p, { recursive: true });
17}
18
19async function linkFile(babel: any, createLinker: any, src: string): Promise<string | null> {
20 const code = await fs.readFile(src, 'utf8');

Callers 2

copyOrLinkIntoFunction · 0.85
prelinkPackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected