authorgravatar for jsistsir@gmail.comAyoctl <jsistsir@gmail.com> 2026-10-16 03:58:31+09:00
committergravatar for jsistsir@gmail.comAyoctl <jsistsir@gmail.com> 2026-10-16 04:03:17+09:00
log877bcb27d244ec20ebc9893048c4cb6f6a1df7bf
tree99e8faedfee539b336b54e5f8355206e539bce4b
parent13ee140439e8a175dc80983b0257793fa9c2cb0e

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
905905
906906pub const RealPathError = File.RealPathError;
907907
908/// Obtains the canonicalized absolute path name of `sub_path` relative to this
909/// `Dir`. If `sub_path` is absolute, ignores this `Dir` handle and obtains the
910/// canonicalized absolute pathname of `sub_path` argument.
908/// Obtains the canonicalized absolute path name of `dir`.
911909///
912910/// This function has limited platform support, and using it can lead to
913911/// unnecessary failures and race conditions. It is generally advisable to