mrdocs::files::isRegularFile

Determine if a path is a regular file.

Synopsis

Declared in <mrdocs/Support/Path.hpp>

bool
isRegularFile(std::string_view pathName);

Description

Symbolic links are followed, so a link to a regular file counts as a regular file.

Return Value

true if the path exists and is a regular file, false otherwise.

Parameters

Name

Description

pathName

The absolute or relative path

Created with MrDocs