Debian Codegraph @

pdata/pprofile/link.go

raw
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 package pprofile // import "go.opentelemetry.io/collector/pdata/pprofile"
5
6 // Equal checks equality with another Link
7 func (ms Link) Equal(val Link) bool {
8 return ms.TraceID() == val.TraceID() &&
9 ms.SpanID() == val.SpanID()
10 }