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.

getDirectory

Returns a LazyPath representing the base directory that contains all the files from this WriteFile.

WriteFile.getDirectory
pub fn getDirectory(wf: *WriteFile) std.Build.LazyPath

File

lib/std/Build/Step/WriteFile.zig:163

Code

pub fn getDirectory(wf: *WriteFile) std.Build.LazyPath {
    return .{ .generated = .{ .index = wf.generated_directory } };
}