mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
output: don't forget to check inode
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ class Dependency(object):
|
||||
return True
|
||||
|
||||
state = self.project.state.get(self.path)
|
||||
if state and state.mtime == self.mtime():
|
||||
if state and state.mtime == self.mtime() and state.inode == self.inode():
|
||||
md5 = state.md5
|
||||
else:
|
||||
md5 = self.compute_md5()
|
||||
|
||||
@@ -68,6 +68,8 @@ class Stage(object):
|
||||
if entry.changed():
|
||||
self.project.logger.debug("{} changed".format(self.path))
|
||||
return True
|
||||
else:
|
||||
self.project.logger.debug("{} didn't change".format(self.path))
|
||||
return False
|
||||
|
||||
def remove_outs(self):
|
||||
|
||||
Reference in New Issue
Block a user