datastore_pb

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Deprecated: use github.com/ipfs/boxo/filestore/pb.ErrInvalidLengthDataobj
	ErrInvalidLengthDataobj = fmt.Errorf("proto: negative length found during unmarshaling")
	// Deprecated: use github.com/ipfs/boxo/filestore/pb.ErrIntOverflowDataobj
	ErrIntOverflowDataobj = fmt.Errorf("proto: integer overflow")
	// Deprecated: use github.com/ipfs/boxo/filestore/pb.ErrUnexpectedEndOfGroupDataobj
	ErrUnexpectedEndOfGroupDataobj = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type DataObj deprecated

type DataObj struct {
	FilePath string `protobuf:"bytes,1,opt,name=FilePath" json:"FilePath"`
	Offset   uint64 `protobuf:"varint,2,opt,name=Offset" json:"Offset"`
	Size_    uint64 `protobuf:"varint,3,opt,name=Size" json:"Size"`
}

Deprecated: use github.com/ipfs/boxo/filestore/pb.DataObj

func (*DataObj) Descriptor

func (*DataObj) Descriptor() ([]byte, []int)

func (*DataObj) GetFilePath

func (m *DataObj) GetFilePath() string

func (*DataObj) GetOffset

func (m *DataObj) GetOffset() uint64

func (*DataObj) GetSize_

func (m *DataObj) GetSize_() uint64

func (*DataObj) Marshal

func (m *DataObj) Marshal() (dAtA []byte, err error)

func (*DataObj) MarshalTo

func (m *DataObj) MarshalTo(dAtA []byte) (int, error)

func (*DataObj) MarshalToSizedBuffer added in v0.0.3

func (m *DataObj) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataObj) ProtoMessage

func (*DataObj) ProtoMessage()

func (*DataObj) Reset

func (m *DataObj) Reset()

func (*DataObj) Size

func (m *DataObj) Size() (n int)

func (*DataObj) String

func (m *DataObj) String() string

func (*DataObj) Unmarshal

func (m *DataObj) Unmarshal(dAtA []byte) error

func (*DataObj) XXX_DiscardUnknown

func (m *DataObj) XXX_DiscardUnknown()

func (*DataObj) XXX_Marshal

func (m *DataObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataObj) XXX_Merge

func (m *DataObj) XXX_Merge(src proto.Message)

func (*DataObj) XXX_Size

func (m *DataObj) XXX_Size() int

func (*DataObj) XXX_Unmarshal

func (m *DataObj) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL