golint

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 16 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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