Documentation ¶
Index ¶
- func Add(repositoryPath string, files []string, shellRunOptions shell.RunOptions) error
- func AddAll(repositoryPath string, shellRunOptions shell.RunOptions) error
- func CheckAccess(workspace string, repository string, shellRunOptions shell.RunOptions) bool
- func Clone(workspace string, repositoryPath string, saveAs string, ...) error
- func Commit(repositoryPath string, message string, authorName string, authorEmail string, ...) error
- func LsRemote(repository string, shellRunOptions shell.RunOptions) error
- func Pull(repositoryPath string, shellRunOptions shell.RunOptions) error
- func Push(repositoryPath string, shellRunOptions shell.RunOptions) error
- func Reset(repositoryPath string, shellRunOptions shell.RunOptions) error
- type GitStatusResult
- type RepositoryMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAccess ¶
func CheckAccess(workspace string, repository string, shellRunOptions shell.RunOptions) bool
Types ¶
type GitStatusResult ¶
type GitStatusResult struct {
File string
}
func Status ¶
func Status(repositoryPath string, shellRunOptions shell.RunOptions) []GitStatusResult
type RepositoryMetadata ¶
type RepositoryMetadata struct {
Address string
}
func GetRepositoryMetadata ¶
func GetRepositoryMetadata(repositoryPath string, shellRunOptions shell.RunOptions) (RepositoryMetadata, error)
Click to show internal directories.
Click to hide internal directories.