mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-02 05:57:46 +00:00
ls,uucore: extract display human_readable()
helper from ls
This commit extract the `display_size()` helper from `ls` into `uucore` as `human_readable` to be similar to the gnulib helper so that the human readable display of sizes can be shared between ls, du, df.
This commit is contained in:
parent
eacf53d010
commit
d07fb73630
5 changed files with 68 additions and 39 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -3325,6 +3325,7 @@ dependencies = [
|
|||
"md-5",
|
||||
"memchr",
|
||||
"nix",
|
||||
"number_prefix",
|
||||
"once_cell",
|
||||
"os_display",
|
||||
"sha1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue