MCPcopy
hub / github.com/kopia/kopia / formatTimestamp

Function formatTimestamp

cli/show_utils.go:73–75  ·  view source on GitHub ↗
(ts time.Time)

Source from the content-addressed store, hash-verified

71}
72
73func formatTimestamp(ts time.Time) string {
74 return convertTimezone(ts).Format("2006-01-02 15:04:05 MST")
75}
76
77func formatTimestampPrecise(ts time.Time) string {
78 return convertTimezone(ts).Format("2006-01-02 15:04:05.000 MST")

Callers 15

runMethod · 0.85
printDirectoryEntryMethod · 0.85
deleteSnapshotMethod · 0.85
runMethod · 0.85
runMethod · 0.85
listManifestItemsMethod · 0.85
makeVerifyWalkerFuncMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runSyncBlobsMethod · 0.85

Calls 2

convertTimezoneFunction · 0.85
FormatMethod · 0.65

Tested by

no test coverage detected