This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
880 B
38 lines
880 B
var assign = require('./util/assign') |
|
|
|
var fse = {} |
|
var gfs = require('graceful-fs') |
|
|
|
// attach fs methods to fse |
|
Object.keys(gfs).forEach(function (key) { |
|
fse[key] = gfs[key] |
|
}) |
|
|
|
var fs = fse |
|
|
|
assign(fs, require('./copy')) |
|
assign(fs, require('./copy-sync')) |
|
assign(fs, require('./mkdirs')) |
|
assign(fs, require('./remove')) |
|
assign(fs, require('./json')) |
|
assign(fs, require('./move')) |
|
assign(fs, require('./empty')) |
|
assign(fs, require('./ensure')) |
|
assign(fs, require('./output')) |
|
assign(fs, require('./walk')) |
|
assign(fs, require('./walk-sync')) |
|
|
|
module.exports = fs |
|
|
|
// maintain backwards compatibility for awhile |
|
var jsonfile = {} |
|
Object.defineProperty(jsonfile, 'spaces', { |
|
get: function () { |
|
return fs.spaces // found in ./json |
|
}, |
|
set: function (val) { |
|
fs.spaces = val |
|
} |
|
}) |
|
|
|
module.exports.jsonfile = jsonfile // so users of fs-extra can modify jsonFile.spaces
|
|
|