scm

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2016 License: GPL-3.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionFailed

type ExecutionFailed string

func (ExecutionFailed) Error

func (a ExecutionFailed) Error() string

type FileStatus

type FileStatus struct {
	Filename      string
	IndexStatus   string
	WorkingStatus string
}

type GitManager

type GitManager struct {
	Autoclose bool
}

func (GitManager) Commit

func (a GitManager) Commit(dir bugs.Directory, commitMsg string) error

func (GitManager) GetSCMType

func (a GitManager) GetSCMType() string

func (GitManager) Purge

func (a GitManager) Purge(dir bugs.Directory) error

type HgManager

type HgManager struct{}

func (HgManager) Commit

func (a HgManager) Commit(dir bugs.Directory, commitMsg string) error

func (HgManager) GetSCMType

func (a HgManager) GetSCMType() string

func (HgManager) Purge

func (a HgManager) Purge(dir bugs.Directory) error

type PreconditionFailed

type PreconditionFailed string

func (PreconditionFailed) Error

func (a PreconditionFailed) Error() string

type SCMHandler

type SCMHandler interface {
	Commit(dir bugs.Directory, commitMsg string) error
	Purge(bugs.Directory) error
	GetSCMType() string
}

func DetectSCM

func DetectSCM(options map[string]bool) (SCMHandler, bugs.Directory, error)

type SCMNotFound

type SCMNotFound struct{}

func (SCMNotFound) Error

func (a SCMNotFound) Error() string

type UnsupportedType

type UnsupportedType string

func (UnsupportedType) Error

func (a UnsupportedType) Error() string

Jump to

Keyboard shortcuts

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