git

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2015 License: BSD-3-Clause Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangedFiles

func ChangedFiles(fs []github.CommitFile) (changeset []string)

ChangedFiles returned as a string array

func DiffLine

func DiffLine(bz []byte, s int32, l int32) int

DiffLine returns the corresponding DiffLine

func LineIsNew

func LineIsNew(commit *github.RepositoryCommit, l int32, f string) int

LineIsNew returns true if the line

func LineNumFromDiff

func LineNumFromDiff(bz []byte, s, l int) int

LineNumFromDiff returns the line number corresponding to the Diff line

Types

type ChangeSet

type ChangeSet []github.CommitFile

ChangeSet represents a set of files that have changed.

Jump to

Keyboard shortcuts

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