authorgravatar for jsistsir@gmail.comAyoctl <jsistsir@gmail.com> 2026-10-16 03:58:31+09:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-15 22:59:15+02:00
loge79fcf9fccd851cd0e26273108838fc529ff6755
tree339e15c9d04c82587af1a166e020fba30061c940
parent2190eeb23f9948e3bd22a3c542c7536168410ba9
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Io.Dir: fix realPath documentation


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

lib/std/Io/Dir.zig+1-3
...@@ -905,9 +905,7 @@ pub fn statFile(dir: Dir, io: Io, sub_path: []const u8, options: StatFileOptions...@@ -905,9 +905,7 @@ pub fn statFile(dir: Dir, io: Io, sub_path: []const u8, options: StatFileOptions
905905
906pub const RealPathError = File.RealPathError;906pub const RealPathError = File.RealPathError;
907907
908/// Obtains the canonicalized absolute path name of `sub_path` relative to this908/// Obtains the canonicalized absolute path name of `dir`.
909/// `Dir`. If `sub_path` is absolute, ignores this `Dir` handle and obtains the
910/// canonicalized absolute pathname of `sub_path` argument.
911///909///
912/// This function has limited platform support, and using it can lead to910/// This function has limited platform support, and using it can lead to
913/// unnecessary failures and race conditions. It is generally advisable to911/// unnecessary failures and race conditions. It is generally advisable to