diff options
author | Jürg Billeter <j@bitron.ch> | 2019-07-23 10:31:29 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-08-08 06:55:23 +0200 |
commit | 53d1e3902a269808a55388128cb624d3e6d6eab4 (patch) | |
tree | 8024155e4c665e1abbdef2d24d98b7b3b5864db8 | |
parent | 5c4b448deeffbdf7d088aa292613624c0c296c3e (diff) | |
download | buildstream-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.py | 2 |
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 |