mrdocs::files::requireAbsolute

Return an error if pathName is not absolute.

Synopsis

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

Expected<void>
requireAbsolute(std::string_view pathName);

Return Value

An error if the path is not absolute.

Parameters

NameDescription
pathNameThe absolute or relative path to the directory or file.