- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isDescendantOf (0.1 sec)
-
cmd/metrics-v3-types.go
s = strings.ReplaceAll(s, "-", "_") return "minio_" + s } // isDescendantOf returns true if it is a descendant of (or the same as) // `ancestor`. // // For example: // // /a, /a/b, /a/b/c are all descendants of /a. // /abc or /abd/a are not descendants of /ab. func (cp collectorPath) isDescendantOf(arg string) bool { descendant := string(cp) if descendant == arg { return true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:28:46 UTC 2024 - 15.6K bytes - Viewed (0)