MCPcopy
hub / github.com/kopia/kopia / CachedFile

Method CachedFile

cli/cli_progress.go:120–124  ·  view source on GitHub ↗
(_ string, numBytes int64)

Source from the content-addressed store, hash-verified

118}
119
120func (p *cliProgress) CachedFile(_ string, numBytes int64) {
121 p.cachedBytes.Add(numBytes)
122 p.cachedFiles.Add(1)
123 p.maybeOutput()
124}
125
126func (p *cliProgress) maybeOutput() {
127 if !p.uploading.Load() {

Callers

nothing calls this directly

Calls 2

maybeOutputMethod · 0.95
AddMethod · 0.45

Tested by

no test coverage detected