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

Function concat_if_not_empty

RSPRecomp/src/rsp_recomp.cpp:641–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639};
640
641std::filesystem::path concat_if_not_empty(const std::filesystem::path& parent, const std::filesystem::path& child) {
642 if (!child.empty()) {
643 return parent / child;
644 }
645 return child;
646}
647
648template <typename T>
649std::vector<T> toml_to_vec(const toml::array* array) {

Callers 1

read_configFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected