silk.system.host_path.
Resolves host filesystem paths through symbolic links without changing the working directory.
Import as HostPath with import silk.system.host_path as HostPath.
Public declarations: 1.
canonicalBytes#
pub effect fn canonicalBytes(path: &[u8]) -> Option<Bytes> ! OutOfMemoryError ? &mut AllocatorThe canonical path of path with every symbolic link resolved, or None when the host cannot
resolve it.
Profiles: aarch64-apple-darwin, aarch64-unknown-linux-gnu, aarch64-unknown-linux-gnu-no-libc, x86_64-unknown-linux-gnu, x86_64-unknown-linux-gnu-no-libc, wasm32-unknown-unknown, wasm32-wasip1, wasm32-wasip2, x86_64-pc-windows-msvc, wasm64-unknown-unknown.