MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / insert

Method insert

src/game/recomp_data_api.cpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 bool insert(const KeyType& key) {
85 std::lock_guard lock{mutex};
86 auto it = set.insert(key);
87 return it.second;
88 }
89
90 bool erase(const KeyType& key) {
91 std::lock_guard lock{mutex};

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected