mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
cloud: gcp: implement remove()
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+4
-1
@@ -124,4 +124,7 @@ class DataCloudGCP(DataCloudBase):
|
||||
return (local_exists, remote_exists, diff)
|
||||
|
||||
def remove(self, item):
|
||||
raise Exception('NOT IMPLEMENTED YET')
|
||||
bucket = self._get_bucket_gc(self.storage_bucket)
|
||||
blob_name = self.cache_file_key(path)
|
||||
blob = bucket.blob(blob_name)
|
||||
blob.delete()
|
||||
|
||||
Reference in New Issue
Block a user