mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-23 15:01:52 +02:00
13 lines
334 B
JavaScript
13 lines
334 B
JavaScript
|
import { promises, rmSync } from './fs.js';
|
||
|
const { rm } = promises;
|
||
|
export const rimrafNative = (path, opt) => rm(path, {
|
||
|
...opt,
|
||
|
force: true,
|
||
|
recursive: true,
|
||
|
});
|
||
|
export const rimrafNativeSync = (path, opt) => rmSync(path, {
|
||
|
...opt,
|
||
|
force: true,
|
||
|
recursive: true,
|
||
|
});
|
||
|
//# sourceMappingURL=rimraf-native.js.map
|