Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node-addon-api
/ GetModuleFileName
Function
GetModuleFileName
test/env_misc.cc:10–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
namespace {
9
10
Value GetModuleFileName(const CallbackInfo& info) {
11
Env env = info.Env();
12
return String::New(env, env.GetModuleFileName());
13
}
14
15
} // end anonymous namespace
16
Callers
1
napi-inl.h
File · 0.85
Calls
1
Env
Method · 0.80
Tested by
no test coverage detected