MCPcopy
hub / github.com/grafana/tempo / ParseUUID

Function ParseUUID

tempodb/backend/uuid.go:27–34  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

25}
26
27func ParseUUID(s string) (UUID, error) {
28 u, err := google_uuid.Parse(s)
29 if err != nil {
30 return UUID{}, err
31 }
32
33 return UUID(u), nil
34}
35
36func (u UUID) String() string {
37 return ((google_uuid.UUID)(u)).String()

Callers 7

SearchBlockMethod · 0.92
queryBlockMethod · 0.92
applyJobsToBlocklistMethod · 0.92
Test_helpersFunction · 0.85

Calls 2

UUIDTypeAlias · 0.85
ParseMethod · 0.65

Tested by 1

Test_helpersFunction · 0.68