Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/source / readHermesSourcePin

Function: readHermesSourcePin() ​

readHermesSourcePin(filename, filesystem?): HermesSourcePin

Defined in: hermes/source.ts:67

Read and validate the repository-owned Hermes source pin.

Parameters ​

filename ​

string

Path to the JSON source pin.

filesystem? ​

HermesFileSystem = hermesFileSystem

Filesystem implementation used to read the pin.

Returns ​

HermesSourcePin

The normalized source pin.

pumpkin-plugins documentation