diff options
author | Jürg Billeter <j@bitron.ch> | 2018-02-27 06:11:31 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2018-02-27 11:43:14 +0000 |
commit | cdcdc32cc1d091ad6b791e681bd37b0a018cc047 (patch) | |
tree | 26393578bf6df529039272b843c9e83939a99db7 /buildstream/_artifactcache/tarcache.py | |
parent | 3bf19c0ebcbb90ed4bf67ab6fb218688eade32c2 (diff) | |
download | buildstream-cdcdc32cc1d091ad6b791e681bd37b0a018cc047.tar.gz |
_artifactcache/tarcache.py: Remove unused remove() method
Diffstat (limited to 'buildstream/_artifactcache/tarcache.py')
-rw-r--r-- | buildstream/_artifactcache/tarcache.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/buildstream/_artifactcache/tarcache.py b/buildstream/_artifactcache/tarcache.py index 84b446cd2..fa42506ef 100644 --- a/buildstream/_artifactcache/tarcache.py +++ b/buildstream/_artifactcache/tarcache.py @@ -262,20 +262,6 @@ class TarCache(ArtifactCache): path = os.path.join(self.tardir, tarpath(element, key)) return os.path.isfile(path) - # remove() - # - # Implements artifactcache.remove(). - # - # FIXME: Untested... - # - def remove(self, element): - key = element._get_cache_key() - if not key: - return - - path = (os.path.join(self.tardir, tarpath(element, key))) - shutil.rmtree(path) - # commit() # # Implements artifactcache.commit(). |