MCPcopy Index your code
hub / github.com/ionic-team/capacitor / extractTemplate

Function extractTemplate

cli/src/util/template.ts:4–7  ·  view source on GitHub ↗
(src: string, dir: string)

Source from the content-addressed store, hash-verified

2import { extract } from 'tar';
3
4export async function extractTemplate(src: string, dir: string): Promise<void> {
5 await mkdirp(dir);
6 await extract({ file: src, cwd: dir });
7}

Callers 5

removePluginsNativeFilesFunction · 0.90
addAndroidFunction · 0.90
removePluginsNativeFilesFunction · 0.90
addIOSFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected