mrdocs::files::getFileType

Return the file type or an error

Synopsis

Declared in <mrdocs/Support/Filesystem/Path.hpp>

Expected<FileType>
getFileType(std::string_view pathName);

Return Value

the file type or an error

Parameters

NameDescription
pathNameThe absolute or relative path to the file.