pub fn under_temp_root(path: &str) -> boolExpand 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).
The match is exact, including case. Scratchpad recognition uses this and not under_temp:
folding /TMP into the scratchpad on a case-sensitive volume would treat a different directory
as this session’s.