Function validate_source

Source
pub fn validate_source(source: &Path) -> Result<(), String>
Expand description

Refuses missing or special sources without opening a potentially blocking FIFO/device. Source symlinks may resolve to an ordinary readable file.