mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
b6924f3ef1
We're defining formats for std::chrono types, which feels wrong (because fmt itself also has these), so just replace them with functions: short_time_from_now(...) gives a short "in 14m12s" or "5.123s ago" time span relative to now, given a time point. Precision gets reduced for larger deviations from now (e.g. "4h12m ago"). ToString(Duration_t) gives a string such as "-3h22m02.123s" for a duration. |
||
---|---|---|
.. | ||
dht_immediate.cpp | ||
dht_immediate.hpp | ||
discard.hpp | ||
link_intro.cpp | ||
link_intro.hpp | ||
link_message_parser.cpp | ||
link_message_parser.hpp | ||
link_message.hpp | ||
relay_commit.cpp | ||
relay_commit.hpp | ||
relay_status.cpp | ||
relay_status.hpp | ||
relay.cpp | ||
relay.hpp |