sourcerepo

package module
v0.0.0-...-1449df2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: MIT Imports: 4 Imported by: 2

README

pgk sourcerepo

This package contains the handling for the source repository.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SourceRepo

type SourceRepo struct {
	URL       string
	Directory string
	// contains filtered or unexported fields
}

SourceRepo is the struct for the Source Repository

func New

func New(url string, directory string) (sr *SourceRepo, err error)

New returns initialized and cloned *SourceRepo

func (*SourceRepo) Checkout

func (sr *SourceRepo) Checkout(commitID string) error

Checkout checks out the commitID of the current repository

Jump to

Keyboard shortcuts

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