forked from TrueCloudLab/frostfs-api-go
[#209] pkg/object: Support splitID field in SDK library
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
b9778464b9
commit
6b0bd42f25
3 changed files with 34 additions and 0 deletions
|
@ -110,6 +110,11 @@ func (o *RawObject) SetChildren(v ...*ID) {
|
|||
o.setChildren(v...)
|
||||
}
|
||||
|
||||
// SetSplitID sets split identifier for the split object.
|
||||
func (o *RawObject) SetSplitID(v []byte) {
|
||||
o.setSplitID(v)
|
||||
}
|
||||
|
||||
// SetParentID sets identifier of the parent object.
|
||||
func (o *RawObject) SetParentID(v *ID) {
|
||||
o.setParentID(v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue