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

Function _build

tasks/verify_filesystem.py:168–173  ·  view source on GitHub ↗
(name: str, lock_path: str)

Source from the content-addressed store, hash-verified

166
167
168def _build(name: str, lock_path: str) -> FileLock | SoftFileLock | StrictSoftFileLock:
169 if name == "FileLock":
170 return FileLock(lock_path)
171 if name == "SoftFileLock":
172 return SoftFileLock(lock_path)
173 return StrictSoftFileLock(lock_path)
174
175
176if __name__ == "__main__":

Callers 1

_hammerFunction · 0.85

Calls 2

SoftFileLockClass · 0.90
StrictSoftFileLockClass · 0.90

Tested by

no test coverage detected