Skip to main content

clean

Function clean 

Source
pub fn clean(store: &Store, pool: &WorkerPool) -> Result<Cleaned, StoreError>
Expand description

Removes the cache entries about files and dependencies that existed when kizz recorded them but no longer exist, and takes the tasks whose kizz.md no longer exists out of the owners of the step records it keeps, after checking every recorded path concurrently on pool, in one transaction.

ยงErrors

A StoreError when the cache cannot be read or the removal cannot be committed; then nothing is removed.