martaPath

Value name

let Path.name: String

The last component of the path, which is a file or a directory name.

Such as, for the /foo/bar.txt, bar.txt is returned. For /, the root file, ‘/’ is returned.