| ... | @@ -150,7 +150,6 @@ pub fn copyFileAbsolute(source_path: []const u8, dest_path: []const u8, args: Co | ... | @@ -150,7 +150,6 @@ pub fn copyFileAbsolute(source_path: []const u8, dest_path: []const u8, args: Co |
| 150 | return Dir.copyFile(my_cwd, source_path, my_cwd, dest_path, args); | 150 | return Dir.copyFile(my_cwd, source_path, my_cwd, dest_path, args); |
| 151 | } | 151 | } |
| 152 | | 152 | |
| 153 | /// TODO update this API to avoid a getrandom syscall for every operation. | | |
| 154 | pub const AtomicFile = struct { | 153 | pub const AtomicFile = struct { |
| 155 | file: File, | 154 | file: File, |
| 156 | // TODO either replace this with rand_buf or use []u16 on Windows | 155 | // TODO either replace this with rand_buf or use []u16 on Windows |