MCPcopy
hub / github.com/aceld/zinx / time2name

Method time2name

zutils/witer.go:198–200  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

196 return time.Parse(".2006-01-02-150405.000000", name)
197}
198func (w *Writer) time2name(t time.Time) string {
199 return t.Format(".2006-01-02-150405.000000")
200}
201
202func (w *Writer) Close() error {
203 w.flush()

Callers 1

rotateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected