Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/borgbackup/borg
/ __enter__
Method
__enter__
src/borg/fslocking.py:403–404 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
401
self._lock = ExclusiveLock(str(Path(path +
".exclusive"
)), id=id, timeout=timeout)
402
403
def
__enter__(self):
404
return
self.acquire()
405
406
def
__exit__(self, *exc):
407
self.release()
Callers
nothing calls this directly
Calls
1
acquire
Method · 0.95
Tested by
no test coverage detected