fn realpathAlloc(self: Dir, allocator: Allocator, pathname: []const u8) ![]u8
Same as Dir.realpath except caller must free the returned memory. See also Dir.realpath.
Dir.realpath
self: Dir,
allocator: Allocator,
pathname: []const u8,