MCPcopy Create free account
hub / github.com/activecm/rita / resetZeekRecord

Function resetZeekRecord

importer/parser.go:561–564  ·  view source on GitHub ↗

resetZeekRecord resets the zeek record with values that represent zero

(r any)

Source from the content-addressed store, hash-verified

559
560// resetZeekRecord resets the zeek record with values that represent zero
561func resetZeekRecord(r any) {
562 p := reflect.ValueOf(r).Elem()
563 p.Set(reflect.Zero(p.Type()))
564}

Callers 1

parseFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected