Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
UpdateFile
Method · 0.45
ClearFile
Method · 0.45
GetVirtualFile
Method · 0.45
GetSyntaxTree
Method · 0.45
GetLineIndex
Method · 0.45
OnTextDocumentDiagnostic
Method · 0.45
Calls
1
contains
Method · 0.80
Tested by
no test coverage detected