gerrit

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File added in v0.14.0

type File struct {
	Name      string
	Insertion int
	Deletion  int
}

type Gerrit

type Gerrit struct {
	Path    string
	Project string
	Branch  string
	Patch   Patch
	// contains filtered or unexported fields
}

func (*Gerrit) Call

func (g *Gerrit) Call(ctx context.Context, _ func(context.Context, interface{}) (interface{}, error), args ...interface{}) (string, error)

func (*Gerrit) Deinit

func (g *Gerrit) Deinit(_ context.Context) error

func (*Gerrit) Description

func (g *Gerrit) Description(_ context.Context) string

func (*Gerrit) Init

func (g *Gerrit) Init(_ context.Context) error

func (*Gerrit) Name

func (g *Gerrit) Name(_ context.Context) string

type Patch added in v0.14.0

type Patch struct {
	Hash    string
	Author  string
	Email   string
	Date    string
	Subject string
	File    []File
	Diff    map[string]*gitdiff.File
}

Jump to

Keyboard shortcuts

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