fn realpath(self: Dir, pathname: []const u8, out_buffer: []u8) ![]u8

This function returns the canonicalized absolute pathname of pathname relative to this Dir. If pathname is absolute, ignores this Dir handle and returns the canonicalized absolute pathname of pathname argument. This function is not universally supported by all platforms. Currently supported hosts are: Linux, macOS, and Windows. See also Dir.realpathZ, Dir.realpathW, and Dir.realpathAlloc.

Parameters

self: Dir,
pathname: []const u8,
out_buffer: []u8,