A set of utility functions.
More...
#include <Utility.h>
|
static std::string | escape (const std::string &str) |
| Escapes a string so it can be printed.
|
|
static std::shared_ptr< Entry > | makeEntry (const std::filesystem::path &path) |
| Makes the correct entry object based on it's path.
|
|
static std::string | getHash (const std::filesystem::path &path) |
| Generates an MD5 hash of a file.
|
|
A set of utility functions.
◆ escape()
std::string Utility::escape |
( |
const std::string & |
str | ) |
|
|
static |
Escapes a string so it can be printed.
◆ getHash()
std::string Utility::getHash |
( |
const std::filesystem::path & |
path | ) |
|
|
static |
Generates an MD5 hash of a file.
◆ makeEntry()
std::shared_ptr< Entry > Utility::makeEntry |
( |
const std::filesystem::path & |
path | ) |
|
|
static |
Makes the correct entry object based on it's path.
The documentation for this class was generated from the following files: