MCPcopy
hub / github.com/kopia/kopia / outputLong

Method outputLong

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

Source from the content-addressed store, hash-verified

88}
89
90func (c *commandContentList) outputLong(b content.Info) {
91 c.out.printStdout("%v %v %v %v %v+%v%v %v\n",
92 b.ContentID,
93 b.OriginalLength,
94 formatTimestamp(b.Timestamp()),
95 b.PackBlobID,
96 b.PackOffset,
97 maybeHumanReadableBytes(c.human, int64(b.PackedLength)),
98 c.deletedInfoString(b),
99 c.compressionInfoStringString(b),
100 )
101}
102
103func (c *commandContentList) outputCompressed(b content.Info) {
104 c.out.printStdout("%v length %v packed %v %v %v\n",

Callers 1

runMethod · 0.95

Calls 6

deletedInfoStringMethod · 0.95
formatTimestampFunction · 0.85
maybeHumanReadableBytesFunction · 0.85
printStdoutMethod · 0.80
TimestampMethod · 0.80

Tested by

no test coverage detected