node.js - NativeModule.require what is this function and where do I find its sources? -
i've been looking rewriting node.js work on cygwin. follow source code right to:
nativemodule.require('path')
path
module figured i'll have patch. i'm not quite sure yet located. pointers? i've grep'ed on node.js headers / cc files, word "path" occurs there once, , it's not related path resolution.
so, / it?
path
core module, core modules in lib folder , built main binary. if checking binaries (installed files) path
, not find them.
to modify path
, use need source files. make changes in , build source. can see path
source here.
Comments
Post a Comment