Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tox-dev/filelock
/ CapturingLock
Class
CapturingLock
tests/test_fork_backends.py:296–299 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
294
pass
295
296
class
CapturingLock(_DescriptorLock):
297
def
_acquire(self) -> None:
298
super()._acquire()
299
descriptors.append(cast(
"int"
, self._context.lock_file_fd))
300
301
real_fstat = os.fstat
302
Callers
1
test_control_flow_registration_error_rolls_back_descriptor
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_control_flow_registration_error_rolls_back_descriptor
Function · 0.68