Documentation ¶
Overview ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LongRunningProcess ¶
type LongRunningProcess struct {
// contains filtered or unexported fields
}
func NewLongRunningProcess ¶
func (*LongRunningProcess) Handshake ¶
func (p *LongRunningProcess) Handshake(caps []string) error
Handshake initates the handshake with the parent git process, advertises the given capabilities.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader reads git-pkt-line formatted slices.
func (*Reader) ReadPacket ¶
ReadPacket reads and returns then next packet (line). The returned buffer is valid only till the next call to ReadPacket/Read.
func (*Reader) ReadPackets ¶
ReadPackets reads the input till a flush packet.
type Writer ¶
Writer writes in git-pkt-line format (prefix each line with hex-encoded line length, including the first 4 bytes.
func (Writer) WritePackets ¶
Click to show internal directories.
Click to hide internal directories.