gitutils

package
v0.0.0-...-86aec00 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoConnection

type RepoConnection struct {
	Url     string
	Auth    transport.AuthMethod
	Private bool
}

func (*RepoConnection) Clone

func (rc *RepoConnection) Clone(directory string, repoUrl string, revision string) (*git.Repository, error)

type RepoConnectionProvider

type RepoConnectionProvider interface {
	Clone(directory string, repoUrl string, revision string) (*git.Repository, error) // Clone a git repository to the directory specified
}

Jump to

Keyboard shortcuts

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