MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / formatTime

Method formatTime

sqlchain/observer/api.go:645–647  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

643}
644
645func (a *explorerAPI) formatTime(t time.Time) float64 {
646 return float64(t.UnixNano()) / 1e6
647}
648
649func (a *explorerAPI) getDBID(vars map[string]string) (dbID proto.DatabaseID, err error) {
650 dbIDStr := vars["db"]

Callers 4

formatBlockMethod · 0.95
formatRequestMethod · 0.95
formatResponseHeaderMethod · 0.95
formatAckMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected