MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / acquire

Method acquire

pager_lib/tqdm/std.py:102–104  ·  view source on GitHub ↗
(self, *a, **k)

Source from the content-addressed store, hash-verified

100 root_lock.release()
101
102 def acquire(self, *a, **k):
103 for lock in self.locks:
104 lock.acquire(*a, **k)
105
106 def release(self):
107 for lock in self.locks[::-1]: # Release in inverse order of acquisition

Callers 7

__enter__Method · 0.95
start_zap_daemonMethod · 0.80
__init__Method · 0.80
external_write_modeMethod · 0.80
clearMethod · 0.80
refreshMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected