Function dupePath [src]

Duplicates a path and converts all slashes to the OS's canonical path separator.

Prototype

pub fn dupePath(b: *Build, bytes: []const u8) []u8

Parameters

b: *Buildbytes: []const u8

Source

pub fn dupePath(b: *Build, bytes: []const u8) []u8 { return dupePathInner(b.allocator, bytes); }