Skip to main content

clear

Function clear 

Source
pub fn clear(ctx: &Context) -> Result<i32>
Expand description

Execute haz cache clear against cwd.

Returns 0 on success. Errors propagate as miette diagnostics (workspace-load failure, filesystem failure during the recursive removal).

ยงErrors

Returns a miette::Report for workspace-load or invalidation failures.