6#include <unordered_map>
23 std::unordered_map<std::string, std::string>
map;
36 std::unordered_map<std::string, WarningAction>
warnings;
67 const std::string& source_path =
"");
Result type for fallible operations.
HostProfile get_builtin_empty_profile()
bool version_matches_pattern(const std::string &version, const std::string &pattern)
bool version_allowed_by_profile(const std::string &version, const HostProfile &profile)
HostProfileParseResult parse_host_profile_full(const std::string &toml_str, const std::string &source_path="")
bool is_override_permitted(const std::string &target, const HostProfile &profile)
HostProfileValidation parse_host_profile(const std::string &toml, HostProfileRecord &out)
WarningAction get_warning_action(const HostProfile &profile, Warning warning)
std::vector< std::string > warnings
std::unordered_map< std::string, std::string > map
std::unordered_map< std::string, std::string > environment
std::vector< std::string > library_prepend
struct nah::HostProfile::@0 nak
struct nah::HostProfile::@1 paths
std::unordered_map< std::string, std::string > capabilities
std::vector< std::string > allow_versions
std::unordered_map< std::string, WarningAction > warnings
struct nah::HostProfile::@2 overrides
std::vector< std::string > allow_keys
std::vector< std::string > library_append
std::vector< std::string > deny_versions