mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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. |
2 years ago | |
---|---|---|
.. | ||
logging | 2 years ago | |
meta | 2 years ago | |
thread | 2 years ago | |
algorithm.hpp | 3 years ago | |
aligned.hpp | 2 years ago | |
bencode.cpp | 2 years ago | |
bencode.h | 3 years ago | |
bencode.hpp | 2 years ago | |
bits.hpp | 3 years ago | |
buffer.cpp | 2 years ago | |
buffer.hpp | 2 years ago | |
common.hpp | 3 years ago | |
compare_ptr.hpp | 2 years ago | |
copy_or_nullptr.hpp | 3 years ago | |
decaying_hashset.hpp | 2 years ago | |
decaying_hashtable.hpp | 3 years ago | |
easter_eggs.cpp | 2 years ago | |
exceptions.hpp | 2 years ago | |
file.cpp | 2 years ago | |
file.hpp | 2 years ago | |
formattable.hpp | 2 years ago | |
fs.hpp | 2 years ago | |
json.cpp | 3 years ago | |
json.hpp | 3 years ago | |
logging.hpp | 2 years ago | |
lokinet_init.h | 2 years ago | |
mem.cpp | 3 years ago | |
mem.h | 3 years ago | |
mem.hpp | 3 years ago | |
priority_queue.hpp | 2 years ago | |
status.hpp | 3 years ago | |
str.cpp | 2 years ago | |
str.hpp | 2 years ago | |
time.cpp | 2 years ago | |
time.hpp | 2 years ago | |
types.hpp | 2 years ago |