MCPcopy
hub / github.com/borgbackup/borg / release

Method release

src/borg/hlfuse.py:601–605  ·  view source on GitHub ↗
(self, path, fi)

Source from the content-addressed store, hash-verified

599 return 0
600
601 def release(self, path, fi):
602 debug_log(f"release(path={path!r}, fh={fi.fh})")
603 self.handles.pop(fi.fh, None)
604 self._last_pos.pop(fi.fh, None)
605 return 0
606
607 def create(self, path, mode, fi=None):
608 debug_log(f"create(path={path!r}, mode={mode}, fi={fi}) -> EROFS")

Callers 7

closeMethod · 0.45
closeMethod · 0.45
recover_segmentMethod · 0.45
test_kill_staleMethod · 0.45
test_sharedMethod · 0.45
test_kill_staleMethod · 0.45
test_migrate_lockMethod · 0.45

Calls 1

debug_logFunction · 0.85

Tested by 4

test_kill_staleMethod · 0.36
test_sharedMethod · 0.36
test_kill_staleMethod · 0.36
test_migrate_lockMethod · 0.36