pub fn is_plain_path(path: &str) -> bool
Whether path is a plain repository-relative path: no leading slash, no empty, . or .. part, no NUL or newline.
path
.
..