mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
push: use set_size instead of set_total
From https://github.com/iterative/dvc/pull/10191
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ def _rebuild(idx, path, fs, cb):
|
||||
new = DataIndex()
|
||||
items = list(idx.items())
|
||||
|
||||
cb.set_total(len(items))
|
||||
cb.set_size(len(items))
|
||||
for key, entry in items:
|
||||
if entry.meta and entry.meta.isdir:
|
||||
meta = Meta(isdir=True)
|
||||
|
||||
Reference in New Issue
Block a user