Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diff ¶
type Diff struct {
FromID string
ToID string
OldMode int32
NewMode int32
FromPath []byte
ToPath []byte
Binary bool
RawChunks [][]byte
}
Diff represents a single parsed diff entry
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser holds necessary state for parsing a diff stream
func (*Parser) Diff ¶
Diff returns a successfully parsed diff. It should be called only when Parser.Parse() returns true.
Click to show internal directories.
Click to hide internal directories.