rulvar API reference / @rulvar/plan / planHash
Function: planHash()
ts
function planHash(plan, deriver?): string;Defined in: packages/plan/src/plan-hash.ts:65
planHash under one deriver profile (default: the current hashVersion 2 profile). Replay recomputes each entry's planHashAfter with the predicate of that entry's OWN hashVersion, so the deriver is a parameter, not an ambient.
Parameters
| Parameter | Type | Default value |
|---|---|---|
plan | TaskPlan | undefined |
deriver | KeyDeriver | deriverV2 |
Returns
string