zig/lib/std/tar
Justus Klausecker 6e35138901
all: prefer else => |e| return e, over else => return err,
When switching on an error, using the captured value instead of the original
one is always preferable since its error set has been narrowed to only
contain errors which haven't already been handled by other switch prongs.

The subsequent commits will disallow this form as an unreachable `else` prong.
2026-01-11 11:37:17 +00:00
..
testdata std.tar: pass entry kind to rootDir to avoid setting root_dir to file (#23456) 2025-04-16 19:17:25 +00:00
test.zig std.tar: update fs API calls to take io argument 2025-12-23 22:15:09 -08:00
Writer.zig all: prefer else => |e| return e, over else => return err, 2026-01-11 11:37:17 +00:00