MCPcopy
hub / github.com/kopia/kopia / outputCompressed

Method outputCompressed

cli/command_content_list.go:103–111  ·  view source on GitHub ↗
(b content.Info)

Source from the content-addressed store, hash-verified

101}
102
103func (c *commandContentList) outputCompressed(b content.Info) {
104 c.out.printStdout("%v length %v packed %v %v %v\n",
105 b.ContentID,
106 maybeHumanReadableBytes(c.human, int64(b.OriginalLength)),
107 maybeHumanReadableBytes(c.human, int64(b.PackedLength)),
108 c.compressionInfoStringString(b),
109 c.deletedInfoString(b),
110 )
111}
112
113func (*commandContentList) deletedInfoString(b content.Info) string {
114 if b.Deleted {

Callers 1

runMethod · 0.95

Calls 4

deletedInfoStringMethod · 0.95
maybeHumanReadableBytesFunction · 0.85
printStdoutMethod · 0.80

Tested by

no test coverage detected