(path: str)
| 74 | # /proc sampling |
| 75 | # --------------------------------------------------------------------------- # |
| 76 | def _read(path: str) -> str | None: |
| 77 | try: |
| 78 | with open(path, "r") as fh: |
| 79 | return fh.read() |
| 80 | except OSError: |
| 81 | return None |
| 82 | |
| 83 | |
| 84 | def _status_kib(status: str, key: str) -> int | None: |
no test coverage detected