MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / CreateVersion

Function CreateVersion

libi2pd_client/SAM.cpp:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 static std::string CreateVersion (int ver)
99 {
100 auto d = div (ver, 10);
101 return std::to_string (d.quot) + "." + std::to_string (d.rem);
102 }
103
104 void SAMSocket::HandleHandshakeReceived (const boost::system::error_code& ecode, std::size_t bytes_transferred)
105 {

Callers 1

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected