git

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlakeRepo

type FlakeRepo struct {
	RootDir string
	// contains filtered or unexported fields
}

func NewFlakeRepo

func NewFlakeRepo(root string) *FlakeRepo

func (*FlakeRepo) AheadBehind

func (fr *FlakeRepo) AheadBehind(verbose bool) (bool, bool, []byte, error)

func (*FlakeRepo) Commit

func (fr *FlakeRepo) Commit() ([]byte, error)

func (*FlakeRepo) CreateRepo

func (fr *FlakeRepo) CreateRepo() ([]byte, error)

func (*FlakeRepo) Dirty

func (fr *FlakeRepo) Dirty() (bool, []byte, error)

func (*FlakeRepo) IsValid

func (fr *FlakeRepo) IsValid() bool

func (*FlakeRepo) LocalConfig

func (fr *FlakeRepo) LocalConfig(user, email string) ([]byte, error)

func (*FlakeRepo) Pull

func (fr *FlakeRepo) Pull() ([]byte, error)

func (*FlakeRepo) Push

func (fr *FlakeRepo) Push() ([]byte, error)

func (*FlakeRepo) Remote

func (fr *FlakeRepo) Remote() (string, error)

func (*FlakeRepo) RemoteAdd

func (fr *FlakeRepo) RemoteAdd(remote string, name string) error

func (*FlakeRepo) SetRebase

func (fr *FlakeRepo) SetRebase() ([]byte, error)

Jump to

Keyboard shortcuts

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