repository

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	AddAllAndCommit(commitMessage string) error
	Push() error
	Pull() error
	IsClean() (bool, error)
	GetStatusAsString() (string, error)
}

func OpenRepository

func OpenRepository(path, remoteName string, useSSH bool) (Repository, error)

OpenRepository opens an existing git reposotory with the given options

Jump to

Keyboard shortcuts

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