Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems.
| 15 | if sys.platform == "win32": # pragma: win32 cover |
| 16 | |
| 17 | class UnixFileLock(BaseFileLock): |
| 18 | """Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems.""" |
| 19 | |
| 20 | def _acquire(self) -> None: |
| 21 | raise NotImplementedError |
| 22 | |
| 23 | def _release(self) -> None: |
| 24 | raise NotImplementedError |
| 25 | |
| 26 | else: # pragma: win32 no cover |
| 27 | try: |
no outgoing calls