MCPcopy
hub / github.com/mudler/LocalAI / record

Method record

core/http/middleware/node_header_integration_test.go:79–83  ·  view source on GitHub ↗
(ev string)

Source from the content-addressed store, hash-verified

77}
78
79func (o *orderRecorder) record(ev string) {
80 o.mu.Lock()
81 defer o.mu.Unlock()
82 o.events = append(o.events, ev)
83}
84
85func (o *orderRecorder) snapshot() []string {
86 o.mu.Lock()

Callers 3

WriteHeaderMethod · 0.95
WriteMethod · 0.95
FlushMethod · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected