Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

feat(bitswap humanize): add humanize flag support to bitswap cli command #2109

Closed

Conversation

Prabhakar-Poudel
Copy link
Contributor

blocked on #2102

chirag-shinde and others added 2 commits May 23, 2019 21:38
- Added a `humanize` object to /src/cli/utils with `Bytes` method
that takes bytes and returns Human readable size.
- Used `humanize.Bytes()` method in /commands/stats/repo and
/commands/repo/stat if `--human` flag is passed.

License: MIT
Signed-off-by: Chirag Shinde <shinde.chirag2204@gmail.com>
Add humanize option (--human) to bitswap stat cli command

closes: ipfs#2057

License: MIT
Signed-off-by: Prabhakar-Poudel yuvrajzohan@gmail.com
@Prabhakar-Poudel Prabhakar-Poudel changed the title Feat/bitswap humanize feat(bitswap humanize): add humanize flag support to bitswap cli May 24, 2019
@Prabhakar-Poudel Prabhakar-Poudel changed the title feat(bitswap humanize): add humanize flag support to bitswap cli feat(bitswap humanize): add humanize flag support to bitswap cli command May 24, 2019
@Prabhakar-Poudel Prabhakar-Poudel deleted the feat/bitswap-humanize branch June 1, 2019 14:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants