@lelantos-org/sdk / prover / clearArtifactCache
Function: clearArtifactCache()
ts
function clearArtifactCache(): Promise<boolean>;Defined in: @lelantos-org/sdk/dist/prover/artifact-cache.d.ts:35
Drop every cached artifact. Use after publishing different proving keys under unchanged URLs, or to reclaim the storage the artifacts occupy.
Resolves to false when there was nothing to delete, the Cache API is unavailable, or the delete failed.
Returns
Promise<boolean>