Luna::Path::filename

Name filename() const

Gets the filename of the path, which is the last node in the path excluding extension and the separating dot(.).

Return value

Returns the filename of the path. Returns an empty name if the path is empty.