MCPcopy Create free account
hub / github.com/DFHack/dfhack / size

Method size

library/include/Console.h:99–102  ·  view source on GitHub ↗

get current history size

Source from the content-addressed store, hash-verified

97 }
98 /// get current history size
99 std::size_t size()
100 {
101 return history.size();
102 }
103 /// get pointer to a particular history item
104 std::string & operator[](std::size_t index)
105 {

Callers 3

saveMethod · 0.45
addMethod · 0.45
CommandHistoryClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected