mrdocs::files::getSourceFilename

Return the relevant suffix of a source file path.

Synopsis

std::string_view
getSourceFilename(std::string_view pathName);

Return Value

The suffix, including the leading dot, or the empty string if there is no suffix.

Parameters

Name

Description

pathName

The absolute or relative path to the file.

Created with MrDocs