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.

addDirectoryWatchInputFromPath

Any changes inside the directory will trigger invalidation.

See also addDirectoryWatchInput which takes a LazyPath instead.

This function should only be called when it has been verified that the dependency on path is not already accounted for by a Step dependency. In other words, before calling this function, first check that the LazyPath which this path is derived from is not generated.

Step.addDirectoryWatchInputFromPath
pub fn addDirectoryWatchInputFromPath(step: *Step, maker: *Maker, path: Path) !void

File

Code

pub fn addDirectoryWatchInputFromPath(step: *Step, maker: *Maker, path: Path) !void {
    return addWatchInputFromPath(step, maker, path, ".");
}