mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
Add new locate command with --tail option.
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
This commit is contained in:
parent
1c4f9870fb
commit
c09bdc572e
8 changed files with 291 additions and 21 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue