0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/fs
Ryan Liptak 17daba1806 std/fs/test.zig: Add test for renaming a dir onto an empty dir
Also split the Dir.rename on directories test into 3 tests:
- General rename of a directory
- Rename of a directory onto an existing empty directory
- Rename of a directory onto an existing non-empty directory

The only new case is the rename onto an existing empty directory, but splitting the tests this way made them much more understandable.
History 2022-04-12 06:28:16 -04:00
..
file.zig Add std.fs.File.sync (#11410) 2022-04-12 05:32:45 -04:00
get_app_data_dir.zig std/fs: Support XDG_DATA_HOME 2022-01-24 17:33:38 +02:00
path.zig stdlib WASI: Add realpath() support for non-absolute Preopens 2022-03-03 14:31:49 -07:00
test.zig std/fs/test.zig: Add test for renaming a dir onto an empty dir 2022-04-12 06:28:16 -04:00
wasi.zig stdlib WASI: Add realpath() support for non-absolute Preopens 2022-03-03 14:31:49 -07:00
watch.zig fs: Use OpenMode enum instead of read/write flags. 2022-01-29 15:52:08 +02:00