fix(installer): add missing sync and async methods to fs-native wrapper

Closes #2256
This commit is contained in:
Brian Madison 2026-04-13 09:59:41 -05:00
parent b336cd0987
commit 0f958cf713
1 changed files with 5 additions and 0 deletions

View File

@ -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),