MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / targetTriple

Function targetTriple

apps/kimi-code/scripts/native/paths.mjs:5–7  ·  view source on GitHub ↗
({ platform = process.platform, arch = process.arch, env = process.env } = {})

Source from the content-addressed store, hash-verified

3export const appRoot = resolve(import.meta.dirname, '..', '..');
4
5export function targetTriple({ platform = process.platform, arch = process.arch, env = process.env } = {}) {
6 return env.KIMI_CODE_BUILD_TARGET ?? `${platform}-${arch}`;
7}
8
9export function executableName(platform = process.platform) {
10 return platform === 'win32' ? 'kimi.exe' : 'kimi';

Callers 11

paths.test.tsFile · 0.90
smoke.mjsFile · 0.90
runSeaBlobStepFunction · 0.90
runVerifyStepFunction · 0.90
package.mjsFile · 0.90
runInjectStepFunction · 0.90
runSignStepFunction · 0.90
nativeBinDirFunction · 0.85
nativeBinPathFunction · 0.85
nativeManifestDirFunction · 0.85
nativeManifestKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected