Skip to content

Repository script API / dev / resolveLatestPumpkinBinary

Function: resolveLatestPumpkinBinary() ​

resolveLatestPumpkinBinary(__namedParameters): Promise<{ binary: string; release: any; }>

Defined in: dev.mjs:186

Resolves the newest stable or nightly Pumpkin binary, verifies its checksum, and caches it.

Parameters ​

__namedParameters ​

arch? ​

Architecture = process.arch

env? ​

ProcessEnv = process.env

fetchImpl? ​

{(input, init?): Promise<Response>; (input, init?): Promise<Response>; } = fetch

musl? ​

boolean = ...

nightly? ​

boolean = false

now? ​

() => number = Date.now

platform? ​

Platform = process.platform

root ​

any

Returns ​

Promise<{ binary: string; release: any; }>

pumpkin-plugins documentation