zig/lib/std/fs
xEgoist 1a455b2dd8 test: Fix windows_spawn tmp directory cleanup
On Windows, a directory that's set as the current working directory is
not allowed to be removed. This can cause error on `deleteTree` if the
CWD is set to the file to be removed and will cause `error.FileBusy`.
However, due to `tmp.cleanup()` ignoring the errors, the folder removal error will
be ignored. The only test violating this is `windows_spawn`. As a
solution, setting the parent directory to be the CWD before deletion
will allow the cleanup to pass.
2023-04-27 11:01:02 +03:00
..
file.zig Merge pull request #14841 from squeek502/is-cygwin-pty-stuff 2023-03-21 15:03:33 +02:00
get_app_data_dir.zig std/fs: Support XDG_DATA_HOME 2022-01-24 17:33:38 +02:00
path.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
test.zig test: Fix windows_spawn tmp directory cleanup 2023-04-27 11:01:02 +03:00
wasi.zig Revert "Merge pull request #14661 from evacchi/zig-wasi-preopens" 2023-02-19 09:40:55 -07:00
watch.zig fs: Use OpenMode enum instead of read/write flags. 2022-01-29 15:52:08 +02:00