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

Method __init__

tests/test_filelock.py:850–852  ·  view source on GitHub ↗
(self, lock_file: str, *, is_singleton: bool = True)

Source from the content-addressed store, hash-verified

848
849 class _SlowLock(SoftFileLock):
850 def __init__(self, lock_file: str, *, is_singleton: bool = True) -> None:
851 time.sleep(0.05)
852 super().__init__(lock_file, is_singleton=is_singleton)
853
854 results: list[BaseFileLock] = []
855 barrier = threading.Barrier(2)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected