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.

writeManifestAndWatch

Clears previous watch inputs, if any, and then populates watch inputs from the full set of files picked up by the cache manifest.

Must be accompanied with cacheHitWatched.

Step.writeManifestAndWatch
pub fn writeManifestAndWatch(s: *Step, maker: *Maker, man: *Cache.Manifest) !void

File

Code

pub fn writeManifestAndWatch(s: *Step, maker: *Maker, man: *Cache.Manifest) !void {
    try writeManifest(s, maker, man);
    try setWatchInputsFromManifest(s, maker, man);
}