mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 05:10:05 +02:00
initial commit
This commit is contained in:
14
app/node_modules/fs-extra/lib/remove/index.js
generated
vendored
Normal file
14
app/node_modules/fs-extra/lib/remove/index.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
var rimraf = require('rimraf')
|
||||
|
||||
function removeSync (dir) {
|
||||
return rimraf.sync(dir)
|
||||
}
|
||||
|
||||
function remove (dir, callback) {
|
||||
return callback ? rimraf(dir, callback) : rimraf(dir, function () {})
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
remove: remove,
|
||||
removeSync: removeSync
|
||||
}
|
Reference in New Issue
Block a user