Доработайте публикацию и сверку вложений по итогам ревью
This commit is contained in:
@@ -16,10 +16,10 @@ type Object struct {
|
||||
}
|
||||
|
||||
type Blobs interface {
|
||||
Put(context.Context, string, io.Reader, int64, string) error
|
||||
Open(context.Context, string) (io.ReadCloser, error)
|
||||
Stat(context.Context, string) (Object, error)
|
||||
Copy(context.Context, string, string) error
|
||||
Delete(context.Context, string) error
|
||||
List(context.Context, string, string, int) ([]Object, error)
|
||||
Put(ctx context.Context, key string, body io.Reader, size int64, mimeType string) error
|
||||
Open(ctx context.Context, key string) (io.ReadCloser, error)
|
||||
Stat(ctx context.Context, key string) (Object, error)
|
||||
Copy(ctx context.Context, sourceKey, destinationKey string) error
|
||||
Delete(ctx context.Context, key string) error
|
||||
List(ctx context.Context, prefix, after string, limit int) ([]Object, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user