af_core::path
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.
path
None