- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for trimSuffix (0.18 sec)
-
cni/pkg/nodeagent/podcgroupns.go
// First trim off any .scope suffix. This allows for a cleaner regex since // we don't have to muck with greediness. TrimSuffix is no-copy so this // is cheap. cgroupPath = strings.TrimSuffix(cgroupPath, ".scope") var matchResults map[string]string for _, regex := range cgroupREs { matches := reSubMatchMap(regex, cgroupPath) if isValidCGroupPathMatches(matches) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0)