[#104] object: Add getters for PatchRequestBodyPatch
All checks were successful
DCO action / DCO (pull_request) Successful in 1m8s
Tests and linters / Tests (1.19) (pull_request) Successful in 1m12s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m17s
Tests and linters / Lint (pull_request) Successful in 1m28s
Tests and linters / Tests with -race (pull_request) Successful in 1m35s
All checks were successful
DCO action / DCO (pull_request) Successful in 1m8s
Tests and linters / Tests (1.19) (pull_request) Successful in 1m12s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m17s
Tests and linters / Lint (pull_request) Successful in 1m28s
Tests and linters / Tests with -race (pull_request) Successful in 1m35s
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
47a48969b0
commit
d112a28d38
3 changed files with 22 additions and 6 deletions
|
@ -1615,6 +1615,22 @@ func (r *PatchResponse) SetBody(v *PatchResponseBody) {
|
|||
r.Body = v
|
||||
}
|
||||
|
||||
func (r *PatchRequestBodyPatch) GetChunk() []byte {
|
||||
if r != nil {
|
||||
return r.Chunk
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *PatchRequestBodyPatch) GetRange() *Range {
|
||||
if r != nil {
|
||||
return r.Range
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *ECInfo) getObjectPart() {}
|
||||
|
||||
func (s *ECInfo) getHeaderPart() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue