frostfs-node/pkg/local_object_storage/blobstor/common/delete.go
Dmitrii Stepanov b33559754d [#1367] fstree: Add size hint for Delete
This allow to not to call `os.Stat` if caller already knows data size.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-09-12 15:06:33 +03:00

15 lines
318 B
Go

package common
import (
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
)
// DeletePrm groups the parameters of Delete operation.
type DeletePrm struct {
Address oid.Address
StorageID []byte
Size uint64
}
// DeleteRes groups the resulting values of Delete operation.
type DeleteRes struct{}