package fakegit

import "github.com/dotcloud/docker/testutil/fakegit"

Index

Types

type FakeGit

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

FakeGit is a fake git server

func New

func New(c testing.TB, 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

Source Files

fakegit.go

Version
v28.1.1+incompatible (latest)
Published
Apr 18, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
9 minutes ago

Tools for package owners.