authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-05 03:47:50 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-05 03:47:50 -07:00
log6ce916cfdeb75188010f3bab238dd5ab37952257
treedb54b923f36c0a8a300d0727b5112c1496ca74b4
parent1bc42281b894cb90b5c2bfe9804c686122bd059e
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

fix doc comment on Dir.CreateFlags


1 files changed, 1 insertions(+), 1 deletions(-)

Dir.zig+1-1
...@@ -274,7 +274,7 @@ pub const CreateFlags = packed struct {...@@ -274,7 +274,7 @@ pub const CreateFlags = packed struct {
274 read: bool = false,274 read: bool = false,
275 /// If the file already exists, and is a regular file, and the access mode allows writing, it will be truncated to length 0.275 /// If the file already exists, and is a regular file, and the access mode allows writing, it will be truncated to length 0.
276 truncate: bool = true,276 truncate: bool = true,
277 /// Ensures that this open call creates the file, otherwise causes `error.PathAlreadyExists` to be returned.277 /// Ensures that this open call creates the file, otherwise causes `error.EEXIST` to be returned.
278 exclusive: bool = false,278 exclusive: bool = false,
279 /// The file system mode the file will be created with.279 /// The file system mode the file will be created with.
280 mode: File.Mode = 0o666,280 mode: File.Mode = 0o666,