fix(installer): add missing sync and async methods to fs-native wrapper
Closes #2256
This commit is contained in:
parent
b336cd0987
commit
0f958cf713
|
|
@ -82,7 +82,9 @@ module.exports = {
|
||||||
stat: fsp.stat,
|
stat: fsp.stat,
|
||||||
readdir: fsp.readdir,
|
readdir: fsp.readdir,
|
||||||
access: fsp.access,
|
access: fsp.access,
|
||||||
|
realpath: fsp.realpath,
|
||||||
rename: fsp.rename,
|
rename: fsp.rename,
|
||||||
|
rmdir: fsp.rmdir,
|
||||||
unlink: fsp.unlink,
|
unlink: fsp.unlink,
|
||||||
chmod: fsp.chmod,
|
chmod: fsp.chmod,
|
||||||
mkdir: fsp.mkdir,
|
mkdir: fsp.mkdir,
|
||||||
|
|
@ -103,6 +105,9 @@ module.exports = {
|
||||||
existsSync: fs.existsSync.bind(fs),
|
existsSync: fs.existsSync.bind(fs),
|
||||||
readFileSync: fs.readFileSync.bind(fs),
|
readFileSync: fs.readFileSync.bind(fs),
|
||||||
writeFileSync: fs.writeFileSync.bind(fs),
|
writeFileSync: fs.writeFileSync.bind(fs),
|
||||||
|
statSync: fs.statSync.bind(fs),
|
||||||
|
accessSync: fs.accessSync.bind(fs),
|
||||||
|
readdirSync: fs.readdirSync.bind(fs),
|
||||||
createReadStream: fs.createReadStream.bind(fs),
|
createReadStream: fs.createReadStream.bind(fs),
|
||||||
pathExistsSync: fs.existsSync.bind(fs),
|
pathExistsSync: fs.existsSync.bind(fs),
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue