Skip to main content

resolve_physically

Function resolve_physically 

Source
pub fn resolve_physically(path: &Path) -> PathBuf
Expand description

Where path lands on this machine’s disk: its deepest prefix that exists, resolved by the OS, with the rest put back on lexically. The rest does not exist, so it holds no symlink a lexical .. could misjudge — except its first name, a link the OS cannot resolve because what it points at does not exist yet, which a write follows and so is followed here.