MCPcopy Create free account
hub / github.com/daniele77/cli / Clear

Method Clear

include/cli/volatilehistorystorage.h:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 return std::vector<std::string>(commands.begin(), commands.end());
56 }
57 void Clear() override
58 {
59 commands.clear();
60 }
61 private:
62 const std::size_t maxSize;
63 std::deque<std::string> commands;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected