mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for SegmentInfoOption (#9393)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9412/head
parent
41633aee0a
commit
82ff4563b3
|
@ -183,6 +183,7 @@ func (s *SegmentInfo) ShadowClone(opts ...SegmentInfoOption) *SegmentInfo {
|
|||
return cloned
|
||||
}
|
||||
|
||||
// SegmentInfoOption is the option to set fields in segment info
|
||||
type SegmentInfoOption func(segment *SegmentInfo)
|
||||
|
||||
func SetRowCount(rowCount int64) SegmentInfoOption {
|
||||
|
|
Loading…
Reference in New Issue