fn writeSmallFile(dir: fs.Dir, sub_path: []const u8, data: []const u8) !void

On operating systems that support symlinks, does a symlink. On other operating systems, uses the file contents. Windows supports symlinks but only with elevated privileges, so it is treated as not supporting symlinks. data must be a valid UTF-8 encoded file path and 255 bytes or fewer.

Parameters

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