Function af_core::path::last[][src]

pub fn last(path: &str) -> Option<&str>

Returns the last component of the path.

If path is a root or empty path, this function returns None.