gix_discover::path

Function from_plain_file

source
pub fn from_plain_file(path: &Path) -> Option<Result<PathBuf>>
Expand description

Reads a plain path from a file that contains it as its only content, with trailing newlines trimmed.