(self, s: str, partial: bool = False)
| 369 | Admin socket path; check that it's readable and S_ISSOCK |
| 370 | """ |
| 371 | def valid(self, s: str, partial: bool = False) -> None: |
| 372 | mode = os.stat(s).st_mode |
| 373 | if not stat.S_ISSOCK(mode): |
| 374 | raise ArgumentValid('socket path {0} is not a socket'.format(s)) |
| 375 | self.val = s |
| 376 | |
| 377 | def __str__(self) -> str: |
| 378 | return '<admin-socket-path>' |
nothing calls this directly
no test coverage detected