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

Method _acquire

tests/test_async_filelock.py:165–168  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

163
164 class AioFileLock(BaseAsyncFileLock):
165 async def _acquire(self) -> None: # type: ignore[override]
166 nonlocal acquired
167 acquired = True
168 self._context.lock_file_fd = 1
169
170 async def _release(self) -> None: # type: ignore[override]
171 nonlocal released

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected