git

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusTypeUnchanged = "Unchanged"
	StatusTypeModified  = "Modified"
	StatusTypeAdded     = "Added"
	StatusTypeDeleted   = "Deleted"
	StatusTypeRenamed   = "Renamed"
	StatusTypeCopied    = "Copied"
	StatusTypeUntracked = "Untracked"
	StatusTypeIgnored   = "Ignored"
)

Variables

This section is empty.

Functions

func GetGitPlan

func GetGitPlan(plan string, localShuttleDirectoryPath string, uii ui.UI, skipGitPlanPulling bool, planArgument string) string

GetGitPlan will pull git repository and return its path

func IsGitPlan

func IsGitPlan(plan string) bool

IsGitPlan returns true if specified plan is a git plan

func RunGitPlanCommand

func RunGitPlanCommand(command string, plan string, uii ui.UI)

Types

type FileStatus

type FileStatus struct {
	FilePath         string
	OriginalFilePath string
	WorkTreeStatus   StatusType
	IndexStatus      StatusType
}

type Status

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

type StatusType

type StatusType string

Jump to

Keyboard shortcuts

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