Programming Search⌘K

std.os.windows, page 3 of 4

The entries of std.os.windows in the Zig reference. This page has 759 cards.

std.os.windows.normalizePath

pub fn normalizePath(comptime T: type, path: []T) RemoveDotDirsError!usize

Normalizes a Windows path with the following steps: 1) convert all forward slashes to back slashes 2) collapse duplicate back slashes 3) remove '.' and '..' directory parts Returns the length of the new path.

Kind
function
Module
std.os.windows

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.