MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / Query

Method Query

CodeFormatServer/src/DB/DBBase.h:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 virtual std::optional<V> Query(const K &key) {
20 if (_hash.contains(key)) {
21 return _hash[key];
22 }
23 return std::nullopt;
24 };
25
26 virtual void Delete(const K &key) {
27 auto it = _hash.find(key);

Callers 6

UpdateFileMethod · 0.45
ClearFileMethod · 0.45
GetVirtualFileMethod · 0.45
GetSyntaxTreeMethod · 0.45
GetLineIndexMethod · 0.45

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected