|
|
@ -73,6 +73,7 @@ type s3UploadProgressedReader struct { |
|
|
|
read int64 |
|
|
|
fn func(progressed int64, percentage float32) error |
|
|
|
} |
|
|
|
|
|
|
|
func (r *s3UploadProgressedReader) Read(p []byte) (int, error) { |
|
|
|
return r.fp.Read(p) |
|
|
|
} |
|
|
@ -96,7 +97,6 @@ func (r *s3UploadProgressedReader) ReadAt(p []byte, off int64) (int, error) { |
|
|
|
return n, err |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (r *s3UploadProgressedReader) Seek(offset int64, whence int) (int64, error) { |
|
|
|
return r.fp.Seek(offset, whence) |
|
|
|
} |