Luna::Path::extension

Name extension() const

Gets the extension name of the path, that is, the name string after the last dot(.) character.

Return value

Returns the extension name of the path. The extension is always in lower case. Returns an empty name if the path does not have an extension name.