initial commit taken from gitlab.lrz.de

This commit is contained in:
privatereese
2018-08-24 18:09:42 +02:00
parent ae54ed4c48
commit fc05486403
28494 changed files with 2159823 additions and 0 deletions

20
node_modules/fs-extra/lib/walk-sync/index.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
var fs = require('graceful-fs')
var path = require('path')
var walkSync = function (dir, filelist) {
var files = fs.readdirSync(dir)
filelist = filelist || []
files.forEach(function (file) {
var nestedPath = path.join(dir, file)
if (fs.lstatSync(nestedPath).isDirectory()) {
filelist = walkSync(nestedPath, filelist)
} else {
filelist.push(nestedPath)
}
})
return filelist
}
module.exports = {
walkSync: walkSync
}