#pragma once #include #include #include const std::unordered_map file_type_names = { {std::filesystem::file_type::none, "none"}, {std::filesystem::file_type::not_found, "not_found"}, {std::filesystem::file_type::regular, "regular"}, {std::filesystem::file_type::directory, "directory"}, {std::filesystem::file_type::symlink, "symlink"}, {std::filesystem::file_type::block, "block"}, {std::filesystem::file_type::character, "character"}, {std::filesystem::file_type::fifo, "fifo"}, {std::filesystem::file_type::socket, "socket"}, {std::filesystem::file_type::unknown, "unknown"}}; auto get_current_user_home_path() noexcept -> std::filesystem::path; auto expand_path_home(const std::filesystem::path &path) noexcept -> std::filesystem::path;