Skip to content

Commit

Permalink
Update src/libutil/util.hh
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Hensing <[email protected]>
  • Loading branch information
edolstra and roberth authored May 13, 2024
1 parent 99c04ce commit 5f66462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libutil/util.hh
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ N string2IntWithUnitPrefix(std::string_view s)

/**
* Pretty-print a byte value, e.g. 12433615056 is rendered as `11.6
* GiB`. If `align` is set, the number will be right-justified
* (e.g. `__11.6 GiB`).
* GiB`. If `align` is set, the number will be right-justified by
* padding with spaces on the left.
*/
std::string renderSize(uint64_t value, bool align = false);

Expand Down

0 comments on commit 5f66462

Please sign in to comment.