workspace

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Workspace

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

Workspace The workspace.

func NewWorkspace

func NewWorkspace(tmpDir string) (Workspace, error)

NewWorkspace Create a new temporary workspace.

func (*Workspace) Destroy

func (workspace *Workspace) Destroy() error

Destroy Destroy the workspace.

func (*Workspace) MarkDestroyed

func (workspace *Workspace) MarkDestroyed()

MarkDestroyed If called, the Destroy method will do nothing.

Jump to

Keyboard shortcuts

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