MCPcopy
hub / github.com/hyperledger/fabric / messageType

Function messageType

internal/test/matcher.go:71–73  ·  view source on GitHub ↗
(message proto.Message)

Source from the content-addressed store, hash-verified

69}
70
71func messageType(message proto.Message) string {
72 return string(message.ProtoReflect().Descriptor().Name())
73}

Callers 1

formatMethod · 0.85

Calls 3

NameMethod · 0.65
DescriptorMethod · 0.45
ProtoReflectMethod · 0.45

Tested by

no test coverage detected