MCPcopy 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

8namespace {
9
10Value 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.hFile · 0.85

Calls 1

EnvMethod · 0.80

Tested by

no test coverage detected