golint

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddedLines

func AddedLines(patch string) (map[int]int, error)

AddedLines returns line numbers that were added in the patch, along with their line in the patch itself as a map from line to patch line. https://www.gnu.org/software/diffutils/manual/diffutils.html#Detailed-Unified GitHub omits the ---/+++ lines since that information is in the PullRequestChange object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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