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

Method set_size

dvc/repo/data.py:78–80  ·  view source on GitHub ↗
(self, size: int)

Source from the content-addressed store, hash-verified

76 self.parent_cb = parent_cb
77
78 def set_size(self, size: int) -> None:
79 # This is a no-op to prevent `fs.exists` from trying to set the size
80 pass
81
82 def relative_update(self, value: int = 1) -> None:
83 self.parent_cb.relative_update(value)

Callers 6

_fetch_out_changesFunction · 0.80
_rebuildFunction · 0.80
_download_studioMethod · 0.80
downloadFunction · 0.80
_getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected