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.

PathDep

Configuration.PathDep
pub const PathDep = extern struct

File

lib/std/Build/Configuration.zig:1868

Code

pub const PathDep = extern struct {
    flags: Flags,
    sub: String,
    pkg: Package.OptionalIndex,

    pub const Flags = packed struct(u32) {
        mode: Mode,
        base: LazyPath.Relative.Base,
        _: u16 = 0,
    };

    pub const Mode = enum(u8) { directory, contents, metadata };
}