Function addOptionPath [src]
The value is the path in the cache dir.
Adds a dependency automatically.
Prototype
pub fn addOptionPath( options: *Options, name: []const u8, path: LazyPath, ) void
Parameters
options: *Options
name: []const u8
path: LazyPath
Source
pub fn addOptionPath(
options: *Options,
name: []const u8,
path: LazyPath,
) void {
options.args.append(.{
.name = options.step.owner.dupe(name),
.path = path.dupe(options.step.owner),
}) catch @panic("OOM");
path.addStepDependencies(&options.step);
}