//
pkg.gl
Category
github.com/uber-go/gopatch
internal
parse
section
package
0.4.0
Repository:
https://github.com/uber-go/gopatch.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
1
Files
257 SLOC
#
Functions
Split
Split splits a Program into sections.
ToBytes
ToBytes converts a Section to its raw byte contents.
#
Structs
Change
Change is a single change in a program.
Line
Line is a single line from the patch.
LinePos
LinePos contains positional information about a line in a buffer.
#
Type aliases
Program
Program is a single .patch file consisting of one or more changes.
Section
Section is a section of the change.