feature. See also
. The project being documented here (as the example) is the Zig library itself.
Maker.installLazyPath
pub fn installLazyPath(
maker: *Maker,
arena: Allocator,
source: Configuration.LazyPath.Index,
dest_dir: Configuration.InstallDestDir,
asking_step_index: Configuration.Step.Index,
) !Dir.PrevStatus
File
Code
pub fn installLazyPath(
maker: *Maker,
arena: Allocator,
source: Configuration.LazyPath.Index,
dest_dir: Configuration.InstallDestDir,
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, src_path.basename());
return installPath(maker, arena, src_path, dest_path, asking_step_index);
}