[node] Remove constants definition in (#146)

... fs.exports.js

Bug: #130
This commit is contained in:
wangao
2022-04-19 12:26:06 +08:00
committed by GitHub
parent 0aacddb971
commit 12f97f1364

View File

@@ -157,13 +157,6 @@ export var lutimesSync = fs.lutimesSync.bind(fs);
export var createReadStream = fs.createReadStream.bind(fs);
export var createWriteStream = fs.createWriteStream.bind(fs);
// todo: rest of these
export var constants = {
COPYFILE_EXCL: 1 << 1,
COPYFILE_FICLONE: 1 << 2,
COPYFILE_FICLONE_FORCE: 1 << 4,
};
// lol
realpath.native = realpath;
realpathSync.native = realpathSync;