MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / concat_if_not_empty

Function concat_if_not_empty

RecompModTool/main.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54};
55
56static std::filesystem::path concat_if_not_empty(const std::filesystem::path& parent, const std::filesystem::path& child) {
57 if (child.is_absolute()) {
58 return child;
59 }
60 if (!child.empty()) {
61 return parent / child;
62 }
63 return child;
64}
65
66static bool validate_version_string(std::string_view str, bool& has_label) {
67 std::array<size_t, 2> period_indices;

Callers 2

get_toml_path_arrayFunction · 0.70
parse_mod_config_inputsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected