Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Data ¶
Data returns the packet pkt without its length header. The length header is not validated. Returns an empty slice when pkt is a magic packet such as '0000'.
func NewScanner ¶
NewScanner returns a bufio.Scanner that splits on Git pktline boundaries
func WriteDelim ¶ added in v0.125.0
WriteDelim writes a pkt delim packet.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.