summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-07-23 10:31:29 +0200
committerJürg Billeter <j@bitron.ch>2019-08-08 06:55:23 +0200
commit53d1e3902a269808a55388128cb624d3e6d6eab4 (patch)
tree8024155e4c665e1abbdef2d24d98b7b3b5864db8
parent5c4b448deeffbdf7d088aa292613624c0c296c3e (diff)
downloadbuildstream-53d1e3902a269808a55388128cb624d3e6d6eab4.tar.gz
_artifact.py: Update blob mtimes in cached()
This is in preparation for blob-based expiry as used by buildbox-casd.
-rw-r--r--src/buildstream/_artifact.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_artifact.py b/src/buildstream/_artifact.py
index 493ca5d26..5499b0dab 100644
--- a/src/buildstream/_artifact.py
+++ b/src/buildstream/_artifact.py
@@ -363,7 +363,7 @@ class Artifact():
# Check whether 'files' subdirectory is available, with or without file contents
if (require_directories and str(artifact.files) and
- not self._cas.contains_directory(artifact.files, with_files=require_files)):
+ not self._cas.contains_directory(artifact.files, with_files=require_files, update_mtime=True)):
self._cached = False
return False