@pumpkin-plugins/static-hermes-runtime API / hermes/build / saveHermesBuildCache
Function: saveHermesBuildCache()
saveHermesBuildCache(
fingerprint,statePath,cacheRoot,filesystem?):void
Defined in: hermes/build.ts:297
Persist a validated fingerprint through an atomic cache-state file replacement.
Parameters
fingerprint
string
Fingerprint to record after a successful build.
statePath
string
Destination path for the build-state JSON file.
cacheRoot
string
Cache directory to create before writing the record.
filesystem?
HermesFileSystem = hermesFileSystem
Filesystem implementation used to write and publish the record.
Returns
void