aboutsummaryrefslogtreecommitdiff
path: root/weed/remote_storage/gcs
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-29 18:46:28 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-29 18:46:28 -0700
commita31f2907f05bf7fea9a4e341eb3c6f44ca815cd1 (patch)
tree6822fd2ccecbb58f6b64be84b5b88d250bdb8e57 /weed/remote_storage/gcs
parent001a472057f01b3ac2d3edb59b3d5fb0a141cddd (diff)
downloadseaweedfs-a31f2907f05bf7fea9a4e341eb3c6f44ca815cd1.tar.xz
seaweedfs-a31f2907f05bf7fea9a4e341eb3c6f44ca815cd1.zip
cloud drive: filer.remote.sync supports remove folder
Diffstat (limited to 'weed/remote_storage/gcs')
-rw-r--r--weed/remote_storage/gcs/gcs_storage_client.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/remote_storage/gcs/gcs_storage_client.go b/weed/remote_storage/gcs/gcs_storage_client.go
index 828d62978..683b90086 100644
--- a/weed/remote_storage/gcs/gcs_storage_client.go
+++ b/weed/remote_storage/gcs/gcs_storage_client.go
@@ -111,6 +111,10 @@ func (gcs *gcsRemoteStorageClient) WriteDirectory(loc *remote_pb.RemoteStorageLo
return nil
}
+func (gcs *gcsRemoteStorageClient) RemoveDirectory(loc *remote_pb.RemoteStorageLocation) (err error) {
+ return nil
+}
+
func (gcs *gcsRemoteStorageClient) WriteFile(loc *remote_pb.RemoteStorageLocation, entry *filer_pb.Entry, reader io.Reader) (remoteEntry *filer_pb.RemoteEntry, err error) {
key := loc.Path[1:]