Skip to main content

is_plain_path

Function is_plain_path 

Source
pub fn is_plain_path(path: &str) -> bool
Expand description

Whether path is a plain repository-relative path: no leading slash, no empty, . or .. part, no NUL or newline.