fn create(allocator: mem.Allocator, dir: fs.Dir, dest_path: []const u8, atomic_file_options: fs.Dir.AtomicFileOptions) !*BufferedAtomicFile

TODO when https://github.com/ziglang/zig/issues/2761 is solved this API will not need an allocator

Parameters

allocator: mem.Allocator,
dir: fs.Dir,
dest_path: []const u8,
atomic_file_options: fs.Dir.AtomicFileOptions,