MCPcopy Create free account
hub / github.com/compozy/agh / cloneTaskEvent

Function cloneTaskEvent

internal/task/manager_test.go:9875–9879  ·  view source on GitHub ↗
(record Event)

Source from the content-addressed store, hash-verified

9873}
9874
9875func cloneTaskEvent(record Event) Event {
9876 cloned := record
9877 cloned.Payload = cloneRawJSON(record.Payload)
9878 return cloned
9879}
9880
9881func sortedEventTypes(events []Event) []string {
9882 types := make([]string, 0, len(events))

Callers 1

snapshotMethod · 0.85

Calls 1

cloneRawJSONFunction · 0.70

Tested by

no test coverage detected