commit

package
v0.0.0-...-dd6e5a6 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit(cfg *Config) error

Commit could modify the staging area before returning an error. Callers should be careful to revert the staging area, if necessary.

func MustCommit

func MustCommit(cfg *Config)

func MustCommitOrRevert

func MustCommitOrRevert(cfg *Config)

Types

type Config

type Config struct {
	Message string
}

Jump to

Keyboard shortcuts

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