On Windows, this calls resolveWindows and on POSIX it calls resolvePosix.
pub fn resolve(allocator: Allocator, paths: []const []const u8) Allocator.Error![]u8
pub fn resolve(allocator: Allocator, paths: []const []const u8) Allocator.Error![]u8 {
if (native_os == .windows) {
return resolveWindows(allocator, paths);
} else {
return resolvePosix(allocator, paths);
}
}