This function is like a series of cd
statements executed one after another. It resolves “.” and “..”, but will not convert relative path to absolute path, use std.fs.Dir.realpath instead. The result does not have a trailing path separator. Each drive has its own current working directory. Path separators are canonicalized to ‘\’ and drives are canonicalized to capital letters. Note: all usage of this function should be audited due to the existence of symlinks. Without performing actual syscalls, resolving ..
could be incorrect. This API may break in the future: https://github.com/ziglang/zig/issues/13613