Skip to content

lightgun-poc / lib/native / nativeCacheDir

Function: nativeCacheDir()

nativeCacheDir(version, platform?, arch?, tmp?): string

Defined in: lib/native.ts:61

Where extracted native files live. Keyed by version+platform+arch so an upgraded executable never reuses the previous build's addon.

Parameters

version

string

platform?

string = process.platform

arch?

string = process.arch

tmp?

string = ...

Returns

string

Released under the MIT License.