Fixes #31964
Fixes #31964
squeek502/zig:fetch-zip-empty-cache into master Thanks for the fix. Can you please put this in the while loop in response to the error.FileNotFound? This will avoid the mkdir syscall in the hot path.
@ -1486,1 +1486,4 @@
cache_root.handle.createDir(io,prefix,.default_dir)catch|err|switch(err){
error.PathAlreadyExists=>{},
error.Canceled=>returnerror.Canceled,
this idiom avoids footgun of typo in inferred error set functions
error.Canceled => |e| return e,
There's actually quite a few places that don't follow this idiom. Will correct it locally in this PR and submit a separate PR for the rest.
c29506667b
b57ab4fb23
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?