Function readSmallFile [src]
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.
  Prototype
 pub fn readSmallFile(dir: fs.Dir, sub_path: []const u8, buffer: []u8) ![]u8  Parameters
dir: fs.Dirsub_path: []const u8buffer: []u8 Source
 pub fn readSmallFile(dir: fs.Dir, sub_path: []const u8, buffer: []u8) ![]u8 {
    if (builtin.os.tag == .windows) {
        return dir.readFile(sub_path, buffer);
    } else {
        return dir.readLink(sub_path, buffer);
    }
}