Documentation
¶
Index ¶
- type Repository
- func (repo *Repository) AddFile(file string) (string, error)
- func (repo *Repository) Cleanup() (string, error)
- func (repo *Repository) CommitBranch(comment string) (string, error)
- func (repo *Repository) CreateBranch(branch string) (string, error)
- func (repo *Repository) PullBranch(branch string) (string, error)
- func (repo *Repository) PushBranch(branch string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository - a GIT Repository
func Bootstrap ¶
func Bootstrap(argName string, argURL string, argFolder string) (*Repository, error)
Bootstrap Bootstraps a local Copy.
func (*Repository) AddFile ¶ added in v0.0.4
func (repo *Repository) AddFile(file string) (string, error)
AddFile Adds a File to the Git Repository.
func (*Repository) Cleanup ¶ added in v0.0.4
func (repo *Repository) Cleanup() (string, error)
Cleanup - removes a localCopy of a Repository.
func (*Repository) CommitBranch ¶ added in v0.0.4
func (repo *Repository) CommitBranch(comment string) (string, error)
CommitBranch Commits a Branch to the Git Repository
func (*Repository) CreateBranch ¶ added in v0.0.4
func (repo *Repository) CreateBranch(branch string) (string, error)
CreateBranch creates a new Branch within the local Copy.
func (*Repository) PullBranch ¶ added in v0.0.4
func (repo *Repository) PullBranch(branch string) (string, error)
PullBranch pulls the changes of that branch from the remote Repository.
func (*Repository) PushBranch ¶ added in v0.0.4
func (repo *Repository) PushBranch(branch string) (string, error)
PushBranch pushes the changes of that branch to the remote Repository.
Click to show internal directories.
Click to hide internal directories.