Documentation ¶
Index ¶
- Variables
- type AddBytes
- type Diff
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetAddBytes() *AddBytes
- func (m *Operation) GetImpl() isOperation_Impl
- func (x *Operation) GetReference() *ReferenceBytes
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type Operation_AddBytes
- type Operation_Reference
- type ReferenceBytes
- func (*ReferenceBytes) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceBytes) GetEnd() int32
- func (x *ReferenceBytes) GetStart() int32
- func (*ReferenceBytes) ProtoMessage()
- func (x *ReferenceBytes) ProtoReflect() protoreflect.Message
- func (x *ReferenceBytes) Reset()
- func (x *ReferenceBytes) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_kdiff_proto_diff_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddBytes ¶
type AddBytes struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AddBytes) Descriptor
deprecated
func (*AddBytes) ProtoMessage ¶
func (*AddBytes) ProtoMessage()
func (*AddBytes) ProtoReflect ¶
func (x *AddBytes) ProtoReflect() protoreflect.Message
type Diff ¶
type Diff struct { Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Operations []*Operation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"` // contains filtered or unexported fields }
func (*Diff) Descriptor
deprecated
func (*Diff) GetOperations ¶
func (*Diff) ProtoMessage ¶
func (*Diff) ProtoMessage()
func (*Diff) ProtoReflect ¶
func (x *Diff) ProtoReflect() protoreflect.Message
type Operation ¶
type Operation struct { // Types that are assignable to Impl: // *Operation_AddBytes // *Operation_Reference Impl isOperation_Impl `protobuf_oneof:"impl"` // contains filtered or unexported fields }
func (*Operation) Descriptor
deprecated
func (*Operation) GetAddBytes ¶
func (*Operation) GetReference ¶
func (x *Operation) GetReference() *ReferenceBytes
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type Operation_AddBytes ¶
type Operation_AddBytes struct {
AddBytes *AddBytes `protobuf:"bytes,1,opt,name=addBytes,proto3,oneof"`
}
type Operation_Reference ¶
type Operation_Reference struct {
Reference *ReferenceBytes `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type ReferenceBytes ¶
type ReferenceBytes struct { Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*ReferenceBytes) Descriptor
deprecated
func (*ReferenceBytes) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceBytes.ProtoReflect.Descriptor instead.
func (*ReferenceBytes) GetEnd ¶
func (x *ReferenceBytes) GetEnd() int32
func (*ReferenceBytes) GetStart ¶
func (x *ReferenceBytes) GetStart() int32
func (*ReferenceBytes) ProtoMessage ¶
func (*ReferenceBytes) ProtoMessage()
func (*ReferenceBytes) ProtoReflect ¶
func (x *ReferenceBytes) ProtoReflect() protoreflect.Message
func (*ReferenceBytes) Reset ¶
func (x *ReferenceBytes) Reset()
func (*ReferenceBytes) String ¶
func (x *ReferenceBytes) String() string
Click to show internal directories.
Click to hide internal directories.