git

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IGitService

type IGitService interface {
	CloneRepository(project *workspace.Project, auth *http.BasicAuth) error
	RepositoryExists(project *workspace.Project) (bool, error)
	SetGitConfig(userData *gitprovider.GitUser) error
}

type Service

type Service struct {
	ProjectDir        string
	GitConfigFileName string
	LogWriter         io.Writer
}

func (*Service) CloneRepository

func (s *Service) CloneRepository(project *workspace.Project, auth *http.BasicAuth) error

func (*Service) RepositoryExists

func (s *Service) RepositoryExists(project *workspace.Project) (bool, error)

func (*Service) SetGitConfig

func (s *Service) SetGitConfig(userData *gitprovider.GitUser) error

Jump to

Keyboard shortcuts

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