MCPcopy
hub / github.com/kopia/kopia / Duration

Function Duration

internal/contentlog/logparam/logparam.go:68–70  ·  view source on GitHub ↗

Duration creates a duration parameter. nolint:revive

(key string, value time.Duration)

Source from the content-addressed store, hash-verified

66//
67//nolint:revive
68func Duration(key string, value time.Duration) durationParam {
69 return durationParam{Key: key, Value: value}
70}
71
72// int64Param is a parameter that writes a int64 value to the JSON writer.
73type int64Param struct {

Callers 15

refreshLockedMethod · 0.92
writeIndexShardsMethod · 0.92
GetBlobMethod · 0.92
GetCapacityMethod · 0.92
GetMetadataMethod · 0.92
PutBlobMethod · 0.92
DeleteBlobMethod · 0.92
ListBlobsMethod · 0.92
CloseMethod · 0.92
FlushCachesMethod · 0.92
ExtendBlobRetentionMethod · 0.92
DeleteUnreferencedPacksFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestDurationFunction · 0.56