pub fn readLinkAbsolute(io: Io, absolute_path: []const u8, buffer: []u8) ReadLinkError!usize io: Ioabsolute_path: []const u8buffer: []u81311
1312
1313
1314pub fn readLinkAbsolute(io: Io, absolute_path: []const u8, buffer: []u8) ReadLinkError!usize {
assert(path.isAbsolute(absolute_path));
return io.vtable.dirReadLink(io.userdata, .cwd(), absolute_path, buffer);
}
Same as
readLink, except it asserts the path is absolute.On Windows,
pathshould be encoded as WTF-8. On WASI,pathshould be encoded as valid UTF-8. On other platforms,pathis an opaque sequence of bytes with no particular encoding.