Skip to main content

under_temp_root

Function under_temp_root 

Source
pub fn under_temp_root(path: &str) -> bool
Expand description

Whether path is under a temporary-filesystem root. macOS’s /tmp is a symlink to /private/tmp, and harnesses report either spelling, so both are accepted (as is $TMPDIR).