MCPcopy Index your code
hub / github.com/kopia/kopia / StringThisRun

Method StringThisRun

tests/robustness/engine/log.go:54–62  ·  view source on GitHub ↗

StringThisRun returns a string of only the log entries generated by actions in this run of the engine.

()

Source from the content-addressed store, hash-verified

52// StringThisRun returns a string of only the log entries generated
53// by actions in this run of the engine.
54func (elog *Log) StringThisRun() string {
55 b := &strings.Builder{}
56
57 for _, l := range elog.Log[elog.runOffset:] {
58 fmt.Fprint(b, l.String())
59 }
60
61 return b.String()
62}
63
64func (elog *Log) String() string {
65 b := &strings.Builder{}

Callers 1

ShutdownMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected