MCPcopy Index your code
hub / github.com/react/react / asyncExtractTar

Function asyncExtractTar

scripts/rollup/utils.js:41–51  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

39}
40
41function asyncExtractTar(options) {
42 return new Promise((resolve, reject) =>
43 targz.decompress(options, error => {
44 if (error) {
45 reject(error);
46 return;
47 }
48 resolve();
49 })
50 );
51}
52
53function asyncMkDirP(filepath) {
54 return new Promise((resolve, reject) =>

Callers 1

prepareNpmPackageFunction · 0.85

Calls 2

rejectFunction · 0.50
resolveFunction · 0.50

Tested by

no test coverage detected