blueprints

package
v0.0.0-...-09e74c9 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenBazaarSource

type OpenBazaarSource struct {
	// contains filtered or unexported fields
}

func InflateOpenBazaarDaemon

func InflateOpenBazaarDaemon(targetDirectory string) (*OpenBazaarSource, error)

InflateOpenBazaarDaemon creates a copy of the openbazaard source at the specified targetDirectory. Default version is `master` and can be set with *OpenBazaarSource.CheckoutVersion.

func (*OpenBazaarSource) BinaryPrefix

func (s *OpenBazaarSource) BinaryPrefix() string

func (*OpenBazaarSource) CheckoutVersion

func (s *OpenBazaarSource) CheckoutVersion(ref string) error

CheckoutVersion sets the source state to match the files which were checked-in at the git commit `ref`

func (*OpenBazaarSource) WorkDir

func (s *OpenBazaarSource) WorkDir() string

WorkDir is the root of a GOPATH which contains the checked-out source

Jump to

Keyboard shortcuts

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