MCPcopy
hub / github.com/kopia/kopia / Error

Method Error

cli/cli_progress.go:110–118  ·  view source on GitHub ↗
(path string, err error, isIgnored bool)

Source from the content-addressed store, hash-verified

108}
109
110func (p *cliProgress) Error(path string, err error, isIgnored bool) {
111 if isIgnored {
112 p.ignoredErrorCount.Add(1)
113 p.output(warningColor, fmt.Sprintf("Ignored error when processing \"%v\": %v\n", path, err))
114 } else {
115 p.fatalErrorCount.Add(1)
116 p.output(errorColor, fmt.Sprintf("Error when processing \"%v\": %v\n", path, err))
117 }
118}
119
120func (p *cliProgress) CachedFile(_ string, numBytes int64) {
121 p.cachedBytes.Add(numBytes)

Callers

nothing calls this directly

Calls 2

outputMethod · 0.95
AddMethod · 0.45

Tested by

no test coverage detected