MCPcopy Create free account
hub / github.com/tox-dev/filelock / _NamedFileLock

Class _NamedFileLock

tests/test_subclass_options.py:333–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331
332
333class _NamedFileLock(BaseFileLock):
334 def __init__(self, lock_file: str, *, marker: int = 0) -> None:
335 super().__init__(lock_file)
336 self.marker = marker
337
338 def _acquire(self) -> None:
339 raise NotImplementedError
340
341 def _release(self) -> None:
342 raise NotImplementedError
343
344
345class _NarrowAsyncFileLock(BaseAsyncFileLock):

Calls

no outgoing calls