giq

package
v0.0.0-...-cb550c9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Giqi

type Giqi interface {
	Whoami() string
	GitStruct(string, string, string, string) Git
	AddBareWorktree(string, string, string, string)
	RemoveBareWorktree(string, string, string, string)
}

type Git

type Git struct {
	RepoPath       string
	Worktree       string
	TmpRepoPath    string
	IsBare         bool
	Branch         string
	PreviousCommit string
	LastCommit     string
	IndexPath      string
	Publish        bool
}

type Gogit

type Gogit struct{}

func (*Gogit) AddBareWorktree

func (g *Gogit) AddBareWorktree(gitRepoPath, gitIndexPath, gitWorktree, gexe string)

func (*Gogit) GitStruct

func (g *Gogit) GitStruct(hookPath, hookContext, hookStdinput, gexe string) Git

func (*Gogit) RemoveBareWorktree

func (g *Gogit) RemoveBareWorktree(gitRepoPath, gitIndexPath, gitWorktree, gexe string)

func (*Gogit) Whoami

func (g *Gogit) Whoami() string

type Sysgit

type Sysgit struct{}

func (*Sysgit) AddBareWorktree

func (g *Sysgit) AddBareWorktree(gitRepoPath, gitIndexPath, gitWorktree, gexe string)

func (*Sysgit) GitStruct

func (g *Sysgit) GitStruct(hookPath, hookContext, hookStdinput, gexe string) Git

func (*Sysgit) RemoveBareWorktree

func (g *Sysgit) RemoveBareWorktree(gitRepoPath, gitIndexPath, gitWorktree, gexe string)

func (*Sysgit) Whoami

func (g *Sysgit) Whoami() string

Jump to

Keyboard shortcuts

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