Skip to main content

existing_or_new

Function existing_or_new 

Source
pub fn existing_or_new(new: PathBuf, legacy: PathBuf) -> PathBuf
Expand description

new unless only legacy exists: the path to read, or to keep using for something that is already there.