This commit is contained in:
parent
55470c090d
commit
6947a1adba
1260 changed files with 111297 additions and 0 deletions
19
@capacitor/cli/node_modules/rimraf/dist/mjs/rimraf-native.js
generated
vendored
Normal file
19
@capacitor/cli/node_modules/rimraf/dist/mjs/rimraf-native.js
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { promises, rmSync } from './fs.js';
|
||||
const { rm } = promises;
|
||||
export const rimrafNative = async (path, opt) => {
|
||||
await rm(path, {
|
||||
...opt,
|
||||
force: true,
|
||||
recursive: true,
|
||||
});
|
||||
return true;
|
||||
};
|
||||
export const rimrafNativeSync = (path, opt) => {
|
||||
rmSync(path, {
|
||||
...opt,
|
||||
force: true,
|
||||
recursive: true,
|
||||
});
|
||||
return true;
|
||||
};
|
||||
//# sourceMappingURL=rimraf-native.js.map
|
Loading…
Add table
Add a link
Reference in a new issue