agent

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbortIfError

func AbortIfError(err error)

Types

type Agent

type Agent struct {
	Config *Config
	// contains filtered or unexported fields
}

func New

func New(config *Config) *Agent

func (*Agent) Add

func (a *Agent) Add() (err error)

func (*Agent) Commit

func (a *Agent) Commit() (err error)

func (*Agent) Hooks

func (a *Agent) Hooks() (err error)

func (*Agent) Push

func (a *Agent) Push() (err error)

func (*Agent) Title

func (a *Agent) Title() (_ error)

type Commit

type Commit struct {
	Long     bool
	Breaking bool
}

type Config

type Config struct {
	Commit Commit
	Push   Push
}

type Push

type Push struct {
	Force bool
}

Jump to

Keyboard shortcuts

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