repository

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 1 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 struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func NewRepository

func NewRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *Repository

NewRepository creates a new instance of Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Repository) AddAllAndCommit

func (_m *Repository) AddAllAndCommit(commitMessage string) error

AddAllAndCommit provides a mock function with given fields: commitMessage

func (*Repository) GetStatusAsString

func (_m *Repository) GetStatusAsString() (string, error)

GetStatusAsString provides a mock function with given fields:

func (*Repository) IsClean

func (_m *Repository) IsClean() (bool, error)

IsClean provides a mock function with given fields:

func (*Repository) Pull

func (_m *Repository) Pull() error

Pull provides a mock function with given fields:

func (*Repository) Push

func (_m *Repository) Push() error

Push provides a mock function with given fields:

Jump to

Keyboard shortcuts

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