git

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git added in v1.4.0

type Git struct{}

Git is a vcs

func (*Git) Get added in v1.4.0

func (g *Git) Get(key string) (string, error)

Get returns the value stored in git local config

func (*Git) IsRepository added in v1.4.0

func (g *Git) IsRepository() bool

IsRepository checks that current directory is a git repository

func (*Git) Set added in v1.4.0

func (g *Git) Set(key string, value string) error

Set sets the value for a key in git local config

Jump to

Keyboard shortcuts

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