@pumpkin-plugins/static-hermes-runtime API / hermes/patch / verifyHermesPatchSeriesApplied
Function: verifyHermesPatchSeriesApplied()
verifyHermesPatchSeriesApplied(
source,patches,runner?,filesystem?):void
Defined in: hermes/patch.ts:122
Confirm that every patch in the validated series is present before the build starts.
Parameters
source
string
Hermes source checkout to inspect.
patches
readonly HermesPatch[]
Validated patch series that must already be applied.
runner?
HermesProcessRunner = hermesProcess
Git command runner used to check each patch in reverse.
filesystem?
HermesFileSystem = hermesFileSystem
File system used to read patch contents.
Returns
void
Throws
If any patch is missing from the checkout.