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.

Parameters

self: Dir,
allocator: Allocator,
pathname: []const u8,