zig/lib/std/fs
Andrew Kelley d24aaf8847 std.fs.path.resolve: eliminate getcwd() syscall
This is a breaking change to the API. Instead of the first path
implicitly being the current working directory, it now asserts that the
number of paths passed is greater than zero.

Importantly, it never calls getcwd(); instead, it can possibly return
".", or a series of "../". This changes the error set to only be
`error{OutOfMemory}`.

closes #13613
2022-11-22 20:57:56 -07:00
..
file.zig Remove outdated comment 2022-09-28 13:00:00 +03:00
get_app_data_dir.zig std/fs: Support XDG_DATA_HOME 2022-01-24 17:33:38 +02:00
path.zig std.fs.path.resolve: eliminate getcwd() syscall 2022-11-22 20:57:56 -07:00
test.zig std.fs.path.resolve: eliminate getcwd() syscall 2022-11-22 20:57:56 -07:00
wasi.zig std.fs.path.resolve: eliminate getcwd() syscall 2022-11-22 20:57:56 -07:00
watch.zig fs: Use OpenMode enum instead of read/write flags. 2022-01-29 15:52:08 +02:00