Skip to main content

Module make_path

Module make_path 

Source
Expand description

std.fs.Dir.makeOpenPath reachable as a module (Zig callers do bun.makePath / bun.makeOpenPath).

Traits§

MakePathUnit
Dispatch trait for make_path::<T> over u8 (POSIX) / u16 (Windows). Mirrors Zig’s std.fs.Dir.makePath taking OSPathSlice. Extends the canonical bun_paths::PathChar with the one syscall-dispatch hook.

Functions§

make_open_path
make_path
bun.makePathmkdir -p relative to dir, generic over path-char width so callers can pass OSPathChar slices unchanged.
make_path_u16
Explicit UTF-16 form (Windows). On POSIX transcodes via make_path_w.