Skip to content
Merged
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
11 changes: 5 additions & 6 deletions alioss/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package client
import (
"crypto/md5"
"encoding/base64"
"errors"
"fmt"
"io"
"log"
Expand Down Expand Up @@ -80,21 +79,21 @@ func (client *AliBlobstore) getMD5(filePath string) (string, error) {
}

func (client *AliBlobstore) List(prefix string) ([]string, error) {
return nil, errors.New("not implemented")
return client.storageClient.List(prefix)
}

func (client *AliBlobstore) Copy(srcBlob string, dstBlob string) error {
return errors.New("not implemented")
return client.storageClient.Copy(srcBlob, dstBlob)
}

func (client *AliBlobstore) Properties(dest string) error {
return errors.New("not implemented")
return client.storageClient.Properties(dest)
}

func (client *AliBlobstore) EnsureStorageExists() error {
return errors.New("not implemented")
return client.storageClient.EnsureBucketExists()
}

func (client *AliBlobstore) DeleteRecursive(prefix string) error {
return errors.New("not implemented")
return client.storageClient.DeleteRecursive(prefix)
}
Loading
Loading