Radix Relay
Hybrid mesh communications with Signal Protocol encryption
Loading...
Searching...
No Matches
env_utils.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
6
12[[nodiscard]] auto get_home_directory() -> std::string;
13
19[[nodiscard]] auto get_temp_directory() -> std::string;
20
27[[nodiscard]] auto expand_tilde_path(const std::string &path) -> std::string;
28
29}// namespace radix_relay::platform
auto get_home_directory() -> std::string
Returns the user's home directory path.
auto expand_tilde_path(const std::string &path) -> std::string
Expands tilde (~) in path to home directory.
auto get_temp_directory() -> std::string
Returns the system's temporary directory path.