Skip to content

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

Function: refreshHermesSource() ​

refreshHermesSource(options): string

Defined in: hermes/source.ts:119

Replace a checkout whose changed files belong to this patch series with the pinned clean source.

Parameters ​

options ​

EnsureHermesSourceOptions

Pin, checkout path, and the paths owned by the configured patch series.

Returns ​

string

The refreshed Hermes source path.

Throws ​

If the checkout is not at the pinned commit or contains changes outside managed paths.

pumpkin-plugins documentation