pub fn pathList(b: *Build, sub_paths: []const []const u8) []const LazyPath
Creates a list of files and/or directories relative to the source root.
b: *Build
sub_paths: []const []const u8
1550 1551 1552 1553 1554 1555
pub fn pathList(b: *Build, sub_paths: []const []const u8) []const LazyPath { const graph = b.graph; const result = graph.alloc(LazyPath, sub_paths.len); for (result, sub_paths) |*d, s| d.* = path(b, s); return result; }
Creates a list of files and/or directories relative to the source root.