pub fn plan_reset(store: &Store, dir: &Path) -> Result<ResetPlan, StoreError>Expand description
Selects every entry for the tasks under dir, an absolute path, without
changing anything.
A task is under dir when its kizz.md is in dir or under it, compared by
path components. The step records of those tasks are the step records they own:
a record whose owners are all under dir is removed, a record that also has
owners outside dir only loses the owners under it, and a record with no owner
is left alone. Neither a step position nor a record’s working directory decides
which step records are removed.
§Errors
A StoreError when the cache cannot be read.