#include <PathResolver.hpp>
Module used to resolve file paths. libledger-core has its own iternal representation of the file system that may not be adapted for the runtime platform. All path given to the PathResolver are absolute.
◆ resolveDatabasePath()
virtual std::string ledger::core::api::PathResolver::resolveDatabasePath |
( |
const std::string & |
path | ) |
|
|
pure virtual |
Resolves the path for a SQLite database file.
- Parameters
-
- Returns
- The resolved path.
◆ resolveLogFilePath()
virtual std::string ledger::core::api::PathResolver::resolveLogFilePath |
( |
const std::string & |
path | ) |
|
|
pure virtual |
Resolves the path of a single log file.
- Parameters
-
- Returns
- The resolved path.
◆ resolvePreferencesPath()
virtual std::string ledger::core::api::PathResolver::resolvePreferencesPath |
( |
const std::string & |
path | ) |
|
|
pure virtual |
Resolves the path for a json file.
- Parameters
-
- Returns
- The resolved path.
The documentation for this class was generated from the following file: