feature. See also
. The project being documented here (as the example) is the Zig library itself.
Maker.installLazyPathSub
pub fn installLazyPathSub(
maker: *Maker,
arena: Allocator,
source: Configuration.LazyPath.Index,
dest_dir: Configuration.InstallDestDir,
sub_path: []const u8,
asking_step_index: Configuration.Step.Index,
) !Dir.PrevStatus
File
Code
pub fn installLazyPathSub(
maker: *Maker,
arena: Allocator,
source: Configuration.LazyPath.Index,
dest_dir: Configuration.InstallDestDir,
sub_path: []const u8,
asking_step_index: Configuration.Step.Index,
) !Dir.PrevStatus {
const src_path = try resolveLazyPathIndex(maker, arena, source, asking_step_index);
const dest_dir_path = try resolveInstallDir(maker, arena, dest_dir);
const dest_path = try dest_dir_path.join(arena, sub_path);
return installPath(maker, arena, src_path, dest_path, asking_step_index);
}