{"modulePath":"github.com/virtpriv/node","version":"v0.7.0-rc.13","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package bytesize\n\nPackage bytesize shows sizes the way owners read them. Code keeps sizes as bytes and turns them into text only here, for what a person reads.\n\n## Constants\n\n```go\nconst (\n\tMB uint64 = 1_000_000\n\tGB        = 1_000 * MB\n\tTB        = 1_000 * GB\n)\n```\nSizes in bytes. 1 GB is 1,000,000,000 bytes.\n\n## Functions\n\n```go\nfunc Format(n uint64) string\n```\nFormat shows n bytes as \"512 MB\", \"4.0 GB\" or \"1.9 TB\". It rounds down, so a size just under a limit never shows the limit itself.\n\n","path":"github.com/virtpriv/node/internal/bytesize","name":"bytesize","synopsis":"Package bytesize shows sizes the way owners read them.","isRedistributable":true}
