zig/lib/std/fs
Ryan Liptak 70b248497a fs: Add tests for deleteTree not following symlinks
In theory this is part of https://github.com/ziglang/zig/issues/18335, but these tests already pass since deleteTree does not depend on `OpenDirOptions.no_follow` behavior for these test cases:

- `deleteTree` always tries to delete the initial path as a file first, which will succeed on symlinks because `deleteFile` doesn't follow symlinks
- `deleteTree` when iterating a directory will get the type of symlinks as .sym_link, not as .directory (even if the symlink points to a directory), meaning it will never try to open a symlink as a directory.
2023-12-22 13:47:19 +02:00
..
AtomicFile.zig std.fs.File: flatten struct 2023-11-22 15:24:57 -07:00
Dir.zig std.fs.File: flatten struct 2023-11-22 15:24:57 -07:00
File.zig Merge pull request #18326 from squeek502/stat-symlink 2023-12-22 12:06:10 +02:00
get_app_data_dir.zig Replace shell32.SHGetKnownFolderPath usage with LOCALAPPDATA env var 2023-11-23 01:11:53 -08:00
path.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
test.zig fs: Add tests for deleteTree not following symlinks 2023-12-22 13:47:19 +02:00
wasi.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
watch.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00