zig/lib/std/fs
Pat Tullmann eace31c6b3 std/lib: {fs,io,posix} test clean up
* use `tmp.dir.realpathAlloc()` to get full path into tmpDir instances
* use `testing.allocator` where that simplifies things (vs. manual ArenaAllocator for 1 or 2 allocs)
* Trust `TmpDir.cleanup()` to clean up contained files and sub-trees
* Remove some unnecessary absolute paths (enabling WASI to run the tests)
* Drop some no-longer necessary `[_][]const u8` casts
* Add scopes to reduce `var` usage in favor of `const`
2025-03-09 07:41:06 +01:00
..
AtomicFile.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
Dir.zig std.Target: Remove functions that just wrap component functions. 2025-02-17 19:18:19 +01:00
File.zig std.fs.File: limit initial_cap according to max_bytes in readToEndAllocOptions 2025-01-30 16:42:15 +01:00
get_app_data_dir.zig Fix handling of empty XDG environment variables 2024-08-19 23:30:14 -07:00
path.zig std: add fs.path.fmtJoin 2025-01-25 04:48:00 +00:00
test.zig std/lib: {fs,io,posix} test clean up 2025-03-09 07:41:06 +01:00
wasi.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00