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

Method GetCommands

CodeFormatServer/src/Service/CommandService.cpp:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21std::vector<std::string> CommandService::GetCommands() {
22 std::vector<std::string> results;
23
24 for (auto it: _handles) {
25 results.push_back(it.first);
26 }
27
28 return results;
29}
30
31std::string CommandService::GetCommand(Command command) {
32 switch (command) {

Callers 1

OnInitializeMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected