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

Method String

tests/robustness/engine/log.go:64–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (elog *Log) String() string {
65 b := &strings.Builder{}
66
67 fmt.Fprintf(b, "Log size: %10v\n", len(elog.Log))
68 fmt.Fprintf(b, "========\n")
69
70 for _, l := range elog.Log {
71 fmt.Fprint(b, l.String())
72 }
73
74 return b.String()
75}
76
77// AddEntry adds a LogEntry to the Log.
78func (elog *Log) AddEntry(l *LogEntry) {

Callers 11

main_test.goFile · 0.45
harness.goFile · 0.45
ShutdownMethod · 0.45
StatsMethod · 0.45
StatsMethod · 0.45
TestLogsPersistFunction · 0.45
StringMethod · 0.45
StringThisRunMethod · 0.45
restoreSnapshotActionFunction · 0.45
main_test.goFile · 0.45

Calls

no outgoing calls

Tested by 1

TestLogsPersistFunction · 0.36