diff options
Diffstat (limited to 'node_modules/cross-spawn-windows-exe/dist/src/arch.js')
-rw-r--r-- | node_modules/cross-spawn-windows-exe/dist/src/arch.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/cross-spawn-windows-exe/dist/src/arch.js b/node_modules/cross-spawn-windows-exe/dist/src/arch.js new file mode 100644 index 0000000..e9ed6a3 --- /dev/null +++ b/node_modules/cross-spawn-windows-exe/dist/src/arch.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.is64BitArch = void 0; +// List of Node.js-formatted 64 bit arches +const SIXTY_FOUR_BIT_ARCHES = ["arm64", "x64"]; +/** + * Determines whether the given architecture is a 64-bit arch. + * + * @param arch - a Node.js-style architecture name + */ +function is64BitArch(arch) { + return SIXTY_FOUR_BIT_ARCHES.includes(arch); +} +exports.is64BitArch = is64BitArch; +//# sourceMappingURL=arch.js.map
\ No newline at end of file |