ipfs repo stat
使用ipfs repo stat
命令获取当前仓库的统计信息。
命令行
ipfs repo stat [--human]
选项
--human bool - 是否输出仓库大小,单位MB,默认值:false
说明
ipfs repo stat
命令扫描仓库中保存的对象并打印统计信息,输出内容如下:
NumObjects int - 本地仓库中的对象数
RepoPath string - 当前仓库的路径
RepoSize int - 仓库占用的字节数
Version string - 仓库版本