forked from TrueCloudLab/frostfs-node
869d9e571c
With the update of the local storage engine, the headers of virtual objects are directly given. In this regard, the step with obtaining the the right child header is removed. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
13 lines
187 B
Go
13 lines
187 B
Go
package headsvc
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-node/pkg/core/object"
|
|
)
|
|
|
|
type Response struct {
|
|
hdr *object.Object
|
|
}
|
|
|
|
func (r *Response) Header() *object.Object {
|
|
return r.hdr
|
|
}
|