initialiser

package
v0.0.0-...-3bd23f5 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorkspace

func NewWorkspace(cloneURL string, update bool)

func UpdateUser

func UpdateUser(user, email string)

Types

type Child

type Child struct {

	// Relative to the top level of the workspace.
	// Keeping it relative makes it relocatable.
	RelativePath string

	// native git ftw.
	Repository *git.Repository
	// contains filtered or unexported fields
}

type Config

type Config struct {
	User     string
	Email    string
	UserHome string
}

type Parent

type Parent struct {
	Repository *git.Repository
	Location   string
	Update     bool
	Children   []*Child
	// contains filtered or unexported fields
}

type WorkSpace

type WorkSpace struct {
	ManifestURL string

	// Parent is the top level node in the workspace that determines
	// the layout and manages the children in said layout.
	Parent *Parent
	// contains filtered or unexported fields
}

func (*WorkSpace) Clone

func (ws *WorkSpace) Clone() error

Jump to

Keyboard shortcuts

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