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

Method EndTimestamp

notification/notifydata/error_info.go:31–33  ·  view source on GitHub ↗

EndTimestamp returns the end time of the operation that caused the error.

()

Source from the content-addressed store, hash-verified

29
30// EndTimestamp returns the end time of the operation that caused the error.
31func (e *ErrorInfo) EndTimestamp() time.Time {
32 return e.EndTime.Truncate(time.Second)
33}
34
35// Duration returns the duration of the operation.
36func (e *ErrorInfo) Duration() time.Duration {

Callers 3

DurationMethod · 0.95
TestNewErrorInfoFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestNewErrorInfoFunction · 0.76