MCPcopy Index your code
hub / github.com/docker/cli / progressHumanSize

Function progressHumanSize

cli/command/container/cp.go:167–169  ·  view source on GitHub ↗
(n int64)

Source from the content-addressed store, hash-verified

165}
166
167func progressHumanSize(n int64) string {
168 return units.HumanSizeWithPrecision(float64(n), 3)
169}
170
171// localContentSize returns the total size of regular file content at path.
172// For a regular file it returns the file size. For a directory it walks

Callers 2

copyProgressFunction · 0.85
copySummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…