MCPcopy Create free account
hub / github.com/BabylonJS/BabylonReactNative / unzipFile

Function unzipFile

Package/gulpfile.js:268–271  ·  view source on GitHub ↗
(zipPath, destDir)

Source from the content-addressed store, hash-verified

266}
267
268async function unzipFile(zipPath, destDir) {
269 const dir = await unzipper.Open.file(zipPath);
270 await dir.extract({ path: destDir });
271}
272
273function deleteFile(filePath) {
274 return fs.promises.unlink(filePath);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected