7#include <unordered_map>
Result type for fallible operations.
std::string to_portable_path(const std::string &path)
AtomicWriteResult atomic_create_directory(const std::string &path)
std::optional< std::string > get_env(const std::string &name)
bool remove_directory(const std::string &path)
std::unordered_map< std::string, std::string > get_all_env()
std::string get_parent_directory(const std::string &path)
bool copy_file(const std::string &src, const std::string &dst)
std::vector< std::string > list_directory(const std::string &path)
bool remove_file(const std::string &path)
AtomicWriteResult atomic_update_symlink(const std::string &link_path, const std::string &target)
bool create_directories(const std::string &path)
std::optional< std::string > read_symlink(const std::string &path)
std::string get_filename(const std::string &path)
std::string get_current_timestamp()
std::string join_path(const std::string &base, const std::string &rel)
bool is_regular_file(const std::string &path)
bool is_directory(const std::string &path)
AtomicWriteResult atomic_write_file(const std::string &path, const std::string &content)
SectionReadResult read_manifest_section(const std::string &binary_path)
std::string generate_uuid()
bool is_symlink(const std::string &path)
Platform get_current_platform()
bool path_exists(const std::string &path)
std::vector< uint8_t > data