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

Commits on May 23, 2019

  1. cli: add --human flag to repo stat & stats repo

    - 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>
    chirag-shinde committed May 23, 2019
    Configuration menu
    Copy the full SHA
    a4faca8 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. feat(bitswap humanize): add humanize flag support to bitswap cli

    Add humanize option (--human) to bitswap stat cli command
    
    closes: ipfs#2057
    
    License: MIT
    Signed-off-by: Prabhakar-Poudel yuvrajzohan@gmail.com
    Prabhakar-Poudel committed May 24, 2019
    Configuration menu
    Copy the full SHA
    d61534d View commit details
    Browse the repository at this point in the history