MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / ExtractDurationNum

Function ExtractDurationNum

tidbparser/dependency/types/time.go:1431–1456  ·  view source on GitHub ↗

ExtractDurationNum extracts duration value number from duration unit and format.

(d *Duration, unit string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

MicroSecondMethod · 0.80
ErrorfMethod · 0.65
SecondMethod · 0.45
MinuteMethod · 0.45
HourMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…