D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
alt-nodejs22
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
rimraf
/
dist
/
esm
/
Filename :
rimraf-native.js
back
Copy
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