fakegit

package
v17.11.0-ce-rc1+incomp... Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGit

type FakeGit struct {
	RepoURL string
	// contains filtered or unexported fields
}

FakeGit is a fake git server

func New

func New(c testingT, name string, files map[string]string, enforceLocalServer bool) *FakeGit

New create a fake git server that can be used for git related tests

func (*FakeGit) Close

func (g *FakeGit) Close()

Close closes the server, implements Closer interface

Jump to

Keyboard shortcuts

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