diff --git a/swh/vault/cache.py b/swh/vault/cache.py index 5599c29b597343f119f1e33052b6fb33083a7624..5717d40f2de688b32cf6eac393aa97dc39860a59 100644 --- a/swh/vault/cache.py +++ b/swh/vault/cache.py @@ -31,10 +31,6 @@ class VaultCache: sid = self._get_internal_id(bundle_type, swhid) return self.objstorage.delete(hashutil.hash_to_bytes(sid)) - def get_stream(self, bundle_type, swhid: CoreSWHID): - sid = self._get_internal_id(bundle_type, swhid) - return self.objstorage.get_stream(hashutil.hash_to_bytes(sid)) - def is_cached(self, bundle_type, swhid: CoreSWHID): sid = self._get_internal_id(bundle_type, swhid) return hashutil.hash_to_bytes(sid) in self.objstorage