(content: string)
| 41 | } |
| 42 | |
| 43 | function parseCgroupV2LimitMb(content: string): number | null { |
| 44 | const trimmed = content.trim(); |
| 45 | if (trimmed === "max") { |
| 46 | return null; |
| 47 | } |
| 48 | |
| 49 | return parsePositiveByteLimitMb(trimmed); |
| 50 | } |
| 51 | |
| 52 | function parseCgroupV1LimitMb(content: string | null): number | null { |
| 53 | if (content === null) { |
no test coverage detected