summaryrefslogtreecommitdiff
path: root/src/buildstream/_artifactcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_artifactcache.py')
-rw-r--r--src/buildstream/_artifactcache.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/buildstream/_artifactcache.py b/src/buildstream/_artifactcache.py
index 538f6e102..032f8c17d 100644
--- a/src/buildstream/_artifactcache.py
+++ b/src/buildstream/_artifactcache.py
@@ -142,12 +142,6 @@ class ArtifactCache(BaseCache):
def __init__(self, context):
super().__init__(context, context.artifactdir)
- def update_mtime(self, ref):
- try:
- os.utime(os.path.join(self.refdir, ref))
- except FileNotFoundError as e:
- raise ArtifactError("Couldn't find artifact: {}".format(ref)) from e
-
# preflight():
#
# Preflight check.