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: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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