Skip to main content

names_a_file

Function names_a_file 

Source
pub fn names_a_file(path: &Path) -> bool
Expand description

Whether a remote path’s name says it is a file: a data extension or any dot in its last segment. A trailing slash is always a prefix.