checkout

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checkout

type Checkout struct {
	output.Outputer
	// contains filtered or unexported fields
}

Checkout will checkout the given platform project at the given path This includes cloning an associated repository and creating the activestate.yaml It does not activate any environment

func New

func New(repo git.Repository, prime primeable) *Checkout

func (*Checkout) Run

func (r *Checkout) Run(ns *project.Namespaced, branchName, cachePath, targetPath string, noClone bool) (_ string, rerr error)

type ErrAlreadyCheckedOut

type ErrAlreadyCheckedOut struct {
	Path string
	// contains filtered or unexported fields
}

type ErrNoPermission

type ErrNoPermission struct {
	Path string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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