stellarlib 0.1.0
Loading...
Searching...
No Matches
stellarlib::ext::filesystem Namespace Reference

Standard library extensions. More...

Functions

auto base_directory_path () -> const std::filesystem::path &
 Returns the base directory of the application.
auto data_directory_path (const std::string &organization, const std::string &application) -> std::filesystem::path
 Returns the data directory of the application.

Detailed Description

Standard library extensions.

Function Documentation

◆ base_directory_path()

auto stellarlib::ext::filesystem::base_directory_path ( ) -> const std::filesystem::path &
nodiscard

Returns the base directory of the application.

Returns
Base directory of the application

◆ data_directory_path()

auto stellarlib::ext::filesystem::data_directory_path ( const std::string & organization,
const std::string & application ) -> std::filesystem::path
nodiscard

Returns the data directory of the application.

Parameters
organizationName of the organization
applicationName of the application
Returns
Data directory of the application