SimpleReadLink

Crates.ioSimpleReadLink
lib.rsSimpleReadLink
version0.0.1
created_at2025-07-26 08:29:51.327497+00
updated_at2025-07-26 08:29:51.327497+00
descriptionA library to readlink a path without having the pointed file exist.
homepage
repository
max_upload_size
id1768923
size10,861
(Euge908)

documentation

README

About this library

This library builds on top of the std::fs library to allow a nich edge case where a user wants to readlink to a file without requiring it to exist. The problem with std::fs::canonicalize is that it needs the readlinked file to exist or it will panic.

Testing Locally

Run scripts/generate_symlinks.sh before running cargo test

Testing in Docker

Run docker compose up

Commit count: 0

cargo fmt