DoxigAlpha

LazyPath

A reference to an existing or future path.

Fields of this type

Fields

#
src_path:struct { owner: *std.Build, sub_path: []const u8, }
A source file path relative to build root.
generated:struct { file: *const GeneratedFile, /// The number of parent directories to go up. /// 0 means the generated file itself. /// 1 means the directory of the generated file. /// 2 means the parent of that directory, and so on. up: usize = 0, /// Applied after `up`. sub_path: []const u8 = "", }
cwd_relative:[]const u8
An absolute path or a path relative to the current working directory of
dependency:struct { dependency: *Dependency, sub_path: []const u8, }

Returns a lazy path referring to the directory containing this path.

Functions

#
dirname
Returns a lazy path referring to the directory containing this path.
getDisplayName
Returns a string that can be shown to represent the file source.
addStepDependencies
Adds dependencies this file source implies to the given step.
getPath
Deprecated, see `getPath3`.
getPath2
Deprecated, see `getPath3`.
getPath3
Intended to be used during the make phase only.
dupe
Copies the internal strings.