Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Settings and helper functions implemented with some interfaces #10

Closed
wants to merge 1 commit into from

Conversation

KaiyuanLiu0
Copy link
Contributor

I chose storj-uplink as the lib. However, I found myself lacking background knowledge of go-storage. Therefore, this pr has some errors to be improved in the later work.

panic("not implemented")
}

func (s *Storage) read(ctx context.Context, path string, w io.Writer, opt pairStorageRead) (n int64, err error) {
panic("not implemented")
buckets := s.project.ListBuckets(ctx, nil)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to ListBuckets before DownloadObject?

@Xuanwo
Copy link
Contributor

Xuanwo commented Aug 16, 2021

Please fix the conflict.

@Xuanwo
Copy link
Contributor

Xuanwo commented Aug 27, 2021

Hello, any updates here?

@KaiyuanLiu0
Copy link
Contributor Author

KaiyuanLiu0 commented Aug 27, 2021 via email

@@ -1,11 +1,13 @@
name = "storj"

[namespace.storage]
implement = ["copier", "mover", "direr"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How remove all these implement so that we can focus on implementing Storager?

@@ -7,7 +7,25 @@ import (
. "github.com/beyondstorage/go-storage/v4/types"
)

func (s *Storage) copy(ctx context.Context, src string, dst string, opt pairStorageCopy) (err error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's implement them further.

@xxchan
Copy link

xxchan commented Sep 6, 2021

Hello, what's your next schedule?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants