tokio::fs

Function read_link

Source
pub async fn read_link(path: impl AsRef<Path>) -> Result<PathBuf>
Available on crate feature fs only.
Expand description

Reads a symbolic link, returning the file that the link points to.

This is an async version of std::fs::read_link.