zig/lib/std/fs
Andrew Kelley 6b2709616e frontend: ignore AccessDenied when writing builtin.zig
This issue already existed in master branch, however, the more
aggressive caching of builtin.zig in this branch made it happen more
often. I added doc comments to AtomicFile to explain when this problem
can occur.

For the compiler's use case, error.AccessDenied can be simply swallowed
because it means the destination file already exists and there is
nothing else to do besides proceed with the AtomicFile cleanup.

I never solved the mystery of why the log statements weren't printing
but those are temporary debugging instruments anyway, and I am already
too many yaks deep to whip out another razor.

closes #14978
2024-01-01 19:49:08 -07:00
..
AtomicFile.zig frontend: ignore AccessDenied when writing builtin.zig 2024-01-01 19:49:08 -07:00
Dir.zig std.fs.Dir.atomicFile: provide an option for make path 2024-01-01 17:51:20 -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