mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
dvc: temporarily only count local cache as used cache
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -202,8 +202,12 @@ class Project(object):
|
||||
|
||||
for stage in stages:
|
||||
for out in stage.outs:
|
||||
if out.path_info['scheme'] != 'local':
|
||||
continue
|
||||
|
||||
if not out.use_cache or not out.cache:
|
||||
continue
|
||||
|
||||
cache_set |= set([out.cache])
|
||||
if self.cache.local.is_dir_cache(out.cache) and os.path.isfile(out.cache):
|
||||
dir_cache = self.cache.local.dir_cache(out.cache)
|
||||
|
||||
Reference in New Issue
Block a user