pktline

package
v14.23.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDone

func IsDone(pkt []byte) bool

IsDone detects the special done packet '0009done\n'

func IsFlush

func IsFlush(pkt []byte) bool

IsFlush detects the special flush packet '0000'

func IsRefRemoval

func IsRefRemoval(pkt []byte) bool

func NewScanner

func NewScanner(r io.Reader) *bufio.Scanner

NewScanner returns a bufio.Scanner that splits on Git pktline boundaries

func PktDone

func PktDone() []byte

PktDone returns the bytes for a "done" packet.

Types

This section is empty.

Jump to

Keyboard shortcuts

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