disk

package
v0.0.0-...-ca61a64 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blame

type Blame struct {
	Pointer      uint64   `msg:"p"`
	Commit       string   `msg:"c"`
	LinePointers []uint64 `msg:"lp"`
	IsBinary     bool     `msg:"ib"`
}

func (*Blame) DecodeMsg

func (z *Blame) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (*Blame) EncodeMsg

func (z *Blame) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (*Blame) MarshalMsg

func (z *Blame) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (*Blame) Msgsize

func (z *Blame) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*Blame) UnmarshalMsg

func (z *Blame) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

type Data

type Data struct {
	Data     []DataRow  `msg:"data"`
	Blames   []Blame    `msg:"bl"`
	Lines    []Line     `msg:"l"`
	LineData []LineData `msg:"ld"`
}

func (*Data) DecodeMsg

func (z *Data) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (*Data) EncodeMsg

func (z *Data) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (*Data) MarshalMsg

func (z *Data) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (*Data) Msgsize

func (z *Data) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*Data) UnmarshalMsg

func (z *Data) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

type DataRow

type DataRow struct {
	Commit       string `msg:"c"`
	Path         string `msg:"p"`
	BlamePointer uint64 `msg:"bp"`
}

func (*DataRow) DecodeMsg

func (z *DataRow) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (DataRow) EncodeMsg

func (z DataRow) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (DataRow) MarshalMsg

func (z DataRow) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (DataRow) Msgsize

func (z DataRow) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*DataRow) UnmarshalMsg

func (z *DataRow) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

type Line

type Line struct {
	Pointer         uint64 `msg:"p"`
	Commit          string `msg:"c"`
	LineDataPointer uint64 `msg:"ldp"`
}

func (*Line) DecodeMsg

func (z *Line) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (Line) EncodeMsg

func (z Line) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (Line) MarshalMsg

func (z Line) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (Line) Msgsize

func (z Line) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*Line) UnmarshalMsg

func (z *Line) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

type LineData

type LineData struct {
	Pointer uint64 `msg:"p"`
	Data    []byte `msg:"d"`
}

func (*LineData) DecodeMsg

func (z *LineData) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (*LineData) EncodeMsg

func (z *LineData) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (*LineData) MarshalMsg

func (z *LineData) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (*LineData) Msgsize

func (z *LineData) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*LineData) UnmarshalMsg

func (z *LineData) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

Jump to

Keyboard shortcuts

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