Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

markStepSetDirty

Watch.markStepSetDirty
fn markStepSetDirty(maker: *Maker, step_set: *StepSet, any_dirty: bool) bool

File

lib/compiler/Maker/Watch.zig:938

Code

fn markStepSetDirty(maker: *Maker, step_set: *StepSet, any_dirty: bool) bool {
    var this_any_dirty = false;
    for (step_set.keys()) |step_index| {
        const step = maker.stepByIndex(step_index);
        if (maker.invalidateResult(step)) this_any_dirty = true;
    }
    return any_dirty or this_any_dirty;
}