Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: remove commented code in node_file.cc
The implementation of the `fs.lchmod` method has been moved to JS-land
  • Loading branch information
juanarbol committed May 16, 2021
commit b0722e70d91898720f3b26998e8b4d2144ab7ea5
2 changes: 0 additions & 2 deletions src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2482,7 +2482,6 @@ void Initialize(Local<Object> target,

env->SetMethod(target, "chmod", Chmod);
env->SetMethod(target, "fchmod", FChmod);
// env->SetMethod(target, "lchmod", LChmod);

env->SetMethod(target, "chown", Chown);
env->SetMethod(target, "fchown", FChown);
Expand Down Expand Up @@ -2599,7 +2598,6 @@ void RegisterExternalReferences(ExternalReferenceRegistry* registry) {

registry->Register(Chmod);
registry->Register(FChmod);
// registry->Register(LChmod);

registry->Register(Chown);
registry->Register(FChown);
Expand Down