fn isAbsoluteWindowsImpl(comptime T: type, path: []const T) bool
fn isAbsoluteWindowsImpl(comptime T: type, path: []const T) bool { return switch (getWin32PathType(T, path)) { // Unambiguously absolute .drive_absolute, .unc_absolute, .local_device, .root_local_device => true, // Unambiguously relative .relative => false, // Ambiguous, more absolute than relative .rooted => true, // Ambiguous, more relative than absolute .drive_relative => false, }; }