Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Files ¶
func Files(owner, repo, sha string, v FileCallback) error
Types ¶
type FileCallback ¶
type FileCallback func(filename string, reader io.Reader) (VisitControl, error)
type HunkCallback ¶
type HunkCallback func(filename string, hunks []*diff.Hunk) (VisitControl, error)
type VisitControl ¶
type VisitControl string
VisitControl is an enum that determines whether visitation should continue or cease after each callback.
const ( Continue VisitControl = "continue" Break VisitControl = "break" )
Click to show internal directories.
Click to hide internal directories.