Add new locate command with --tail option.

Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
This commit is contained in:
Ralf 2026-02-02 11:19:51 +01:00 • committed by Andrea Mazzoleni
parent 1c4f9870fb
commit c09bdc572e
8 changed files with 291 additions and 21 deletions

View file

@ -1257,5 +1257,10 @@ const char* fmt_poll(const struct snapraid_disk* disk, const char* str, char* bu
*/
const char* fmt_term(const struct snapraid_disk* disk, const char* str, char* buffer);
/**
* Format a size adding suffix K/M/G/T
*/
const char* fmt_size(uint64_t size, char* buffer, size_t buffer_size);
#endif