Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions alioss/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ func (client *AliBlobstore) Delete(object string) error {
return client.storageClient.Delete(object)
}

func (client *AliBlobstore) DeleteRecursive(prefix string) error {
return client.storageClient.DeleteRecursive(prefix)
}

func (client *AliBlobstore) Exists(object string) (bool, error) {
return client.storageClient.Exists(object)
}
Expand Down Expand Up @@ -75,3 +79,19 @@ func (client *AliBlobstore) getMD5(filePath string) (string, error) {

return md5, nil
}

func (client *AliBlobstore) List(prefix string) ([]string, error) {
return client.storageClient.List(prefix)
}

func (client *AliBlobstore) Copy(srcBlob string, dstBlob string) error {
return client.storageClient.Copy(srcBlob, dstBlob)
}

func (client *AliBlobstore) Properties(dest string) error {
return client.storageClient.Properties(dest)
}

func (client *AliBlobstore) EnsureBucketExists() error {
return client.storageClient.EnsureBucketExists()
}
Loading
Loading