MCPcopy
hub / github.com/treeverse/dvc / _release_write

Function _release_write

dvc/rwlock.py:165–172  ·  view source on GitHub ↗
(lock, info, changes)

Source from the content-addressed store, hash-verified

163
164
165def _release_write(lock, info, changes):
166 for url in changes:
167 assert "write" in lock
168 assert url in lock["write"]
169 assert lock["write"][url] == info
170 del lock["write"][url]
171 if not lock["write"]:
172 del lock["write"]
173
174
175def _release_read(lock, info, changes):

Callers 2

_check_blockersFunction · 0.85
rwlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected