MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / normalizeArch

Function normalizeArch

plugins/jieba/node/build.js:9–17  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

7const packageDir = __dirname;
8
9function normalizeArch(value) {
10 if (value === 'x64') {
11 return 'x64';
12 }
13 if (value === 'arm64' || value === 'aarch64') {
14 return 'arm64';
15 }
16 return value;
17}
18
19function parseTarget(value) {
20 if (!value) {

Callers 2

parseTargetFunction · 0.85
build.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected