MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / configureBackendForEngine

Function configureBackendForEngine

main.go:364–372  ·  view source on GitHub ↗
(backend luminaui.RendererBackend, engine *agent.QueryEngine)

Source from the content-addressed store, hash-verified

362}
363
364func parseMemoryCLITime(text string) time.Time {
365 text = strings.TrimSpace(text)
366 if text == "" {
367 return time.Time{}
368 }
369 for _, layout := range []string{time.RFC3339Nano, time.RFC3339, "2006-01-02"} {
370 if parsed, err := time.Parse(layout, text); err == nil {
371 return parsed
372 }
373 }
374 return time.Time{}
375}

Callers 1

runREPLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected