MCPcopy
hub / github.com/urfave/cli / ToString

Method ToString

flag_duration.go:20–23  ·  view source on GitHub ↗
(val time.Duration)

Source from the content-addressed store, hash-verified

18}
19
20func (d durationValue) ToString(val time.Duration) string {
21 d = durationValue(val)
22 return d.String()
23}
24
25// Below functions are to satisfy the flag.Value interface
26

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
durationValueTypeAlias · 0.85

Tested by

no test coverage detected