mrdocs::files::getFileText
Return the contents of a file as a string.
Synopsis
Declared in <mrdocs/Support/Path.hpp>
Expected<std::string>
getFileText(std::string_view pathName);
Parameters
| Name | Description |
|---|---|
pathName |
The absolute or relative path to the file. |
Created with MrDocs