- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Garg (0.13 sec)
-
cmd/metrics-v3-types.go
// /abc or /abd/a are not descendants of /ab. func (cp collectorPath) isDescendantOf(arg string) bool { descendant := string(cp) if descendant == arg { return true } if len(arg) >= len(descendant) { return false } if !strings.HasSuffix(arg, "/") { arg += "/" } return strings.HasPrefix(descendant, arg) } // MetricType - represents the type of a metric. type MetricType int const (
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 30 15:05:22 GMT 2024 - 14.7K bytes - Viewed (0)