fn readSmallFile(dir: fs.Dir, sub_path: []const u8, buffer: []u8) ![]u8

On operating systems that support symlinks, does a readlink. On other operating systems, uses the file contents. Windows supports symlinks but only with elevated privileges, so it is treated as not supporting symlinks.

Parameters

dir: fs.Dir,
sub_path: []const u8,
buffer: []u8,