????

Your IP : 18.116.88.132


Current Path : /opt/cpanel/ea-nodejs22/lib/node_modules/npm/node_modules/rimraf/dist/commonjs/
Upload File :
Current File : //opt/cpanel/ea-nodejs22/lib/node_modules/npm/node_modules/rimraf/dist/commonjs/rimraf-native.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rimrafNativeSync = exports.rimrafNative = void 0;
const fs_js_1 = require("./fs.js");
const { rm } = fs_js_1.promises;
const rimrafNative = async (path, opt) => {
    await rm(path, {
        ...opt,
        force: true,
        recursive: true,
    });
    return true;
};
exports.rimrafNative = rimrafNative;
const rimrafNativeSync = (path, opt) => {
    (0, fs_js_1.rmSync)(path, {
        ...opt,
        force: true,
        recursive: true,
    });
    return true;
};
exports.rimrafNativeSync = rimrafNativeSync;
//# sourceMappingURL=rimraf-native.js.map