@pumpkin-plugins/static-hermes-runtime API / hermes/source / ensureHermesSource
Function: ensureHermesSource()
ensureHermesSource(
options):string
Defined in: hermes/source.ts:90
Ensure that the configured source directory is a checkout at the pinned Hermes commit.
Parameters
options
Pin, checkout path, ownership state, and permitted patch paths.
Returns
string
The verified Hermes source path.
Throws
If the checkout is invalid, has unexpected local changes, or a custom path has the wrong commit.