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

Function _sqlite

tests/async_lock/test_read_write.py:29–30  ·  view source on GitHub ↗
(path: Path, worker: ThreadPoolExecutor)

Source from the content-addressed store, hash-verified

27
28
29def _sqlite(path: Path, worker: ThreadPoolExecutor) -> tuple[AsyncReadWriteLock, ReadWriteLock]:
30 return AsyncReadWriteLock(path / "lock.db", executor=worker), ReadWriteLock(path / "lock.db")
31
32
33def _soft( # pragma: needs hard-link

Callers

nothing calls this directly

Calls 2

AsyncReadWriteLockClass · 0.90
ReadWriteLockClass · 0.90

Tested by

no test coverage detected