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 standard library.
std › Build › Cache › Manifest › Diagnostic Public Union Diagnostic Doc Source Public Union std.Build.Cache.Manifest.Diagnostic
pub const Diagnostic = union (enum ) Fields none : none manifest_create : Io .File .OpenError manifest_read : Io .File .Reader .Error manifest_lock : Io .File .LockError file_open : FileOp file_stat : FileOp file_read : FileOp file_hash : FileOp Structs File Build/Cache.zig: 345
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359 pub const Diagnostic = union (enum ) {
none ,
manifest_create : Io .File .OpenError ,
manifest_read : Io .File .Reader .Error ,
manifest_lock : Io .File .LockError ,
file_open : FileOp ,
file_stat : FileOp ,
file_read : FileOp ,
file_hash : FileOp ,
pub const FileOp = struct {
file_index : usize ,
err : anyerror ,
};
}