gitmod

package
v0.0.0-...-31148e1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorType

type ErrorType int
const (
	ErrorExistingRepository ErrorType = iota
	ErrorAuthenticate       ErrorType = iota
	ErrorUnrecognized       ErrorType = iota
)

type Git

type Git struct {
}

func (*Git) CloneRepo

func (gt *Git) CloneRepo(url string) (string, error)

CloneRepo - клонирование репозитория кандата по его url

func (*Git) GetTypeError

func (gt *Git) GetTypeError(err error) ErrorType

GetTypeError - получение расшифровки ошибки

func (*Git) RemoveRepo

func (gt *Git) RemoveRepo(repoPath string) error

RemoveRepo - удалить репозиторий кандидата по pathname

Jump to

Keyboard shortcuts

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