Function dupe [src]

Copies the internal strings. The b parameter is only used for its allocator. All *Build instances share the same allocator.

Prototype

pub fn dupe(lazy_path: LazyPath, b: *Build) LazyPath

Parameters

lazy_path: LazyPathb: *Build

Source

pub fn dupe(lazy_path: LazyPath, b: *Build) LazyPath { return lazy_path.dupeInner(b.allocator); }