Closed daviddias closed 6 years ago
That sizes consists of: repoSize / storageMax
, which are obtained through ipfs.repo.stat()
FYI WebUI and Companion use https://www.npmjs.com/package/filesize for making human-readable sizes :)
Nice, I will look into that! Thanks @lidel