fn normalizePath(bytes: []u8) []u8
bytes: []u8
1159 1160 1161 1162 1163 1164
fn normalizePath(bytes: []u8) []u8 { const canonical_sep = std.fs.path.sep_posix; if (std.fs.path.sep == canonical_sep) return bytes; std.mem.replaceScalar(u8, bytes, std.fs.path.sep, canonical_sep); return bytes; }