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#

silk
pub effect fn canonicalBytes(path: &[u8]) -> Option<Bytes> ! OutOfMemoryError ? &mut Allocator

The 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.

View the source of this page