tvix_eval::value::path

Function canon_path

source
pub fn canon_path(path: PathBuf) -> PathBuf
Expand description

This function should match the behavior of canonPath() in src/libutil/util.cc of cppnix. Currently it does not match that behavior; it uses the path_clean library which is based on the Go standard library