MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / parseRFC3339FilterPtr

Function parseRFC3339FilterPtr

internal/httpapi/events.go:311–320  ·  view source on GitHub ↗

parseRFC3339FilterPtr is the *time.Time variant of parseRFC3339Filter.

(raw, name string)

Source from the content-addressed store, hash-verified

309
310// parseRFC3339FilterPtr is the *time.Time variant of parseRFC3339Filter.
311func parseRFC3339FilterPtr(raw, name string) (*time.Time, error) {
312 t, err := parseRFC3339Filter(raw, name)
313 if err != nil {
314 return nil, err
315 }
316 if t.IsZero() {
317 return nil, nil
318 }
319 return &t, nil
320}

Callers 1

handleListEventsMethod · 0.85

Calls 1

parseRFC3339FilterFunction · 0.85

Tested by

no test coverage detected