Documentation ¶
Index ¶
- func BuildFilterBranchExpression(committersRules []model.CommittersRule) string
- func Clone(path string, url string) bool
- func CopyRepository(repositoryFullPath string, destinationRepositoryName string, ...) bool
- func Diff(path string) bool
- func Gc()
- func OverrideAuthor(path string, CommitsOverridingConfig model.CommitsOverriding) bool
- func Pull(path string) bool
- func Push(path string) bool
- func RemoveTemporaryGitFolder(repositoryFullPath string) error
- func ResetHard(path string) bool
- func RestoreGitFolder(repositoryFullPath string, sourceRepositoryName string) error
- func RewriteGitFiles(repositoryFullPath string, destinationRepositoryName string) error
- func RmCached(path string) bool
- func Status(path string) bool
- func TemporaryMoveGitFolder(repositoryFullPath string, sourceRepositoryName string) error
- type Commit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFilterBranchExpression ¶
func BuildFilterBranchExpression(committersRules []model.CommittersRule) string
BuildFilterBranchExpression returns filter branch expression.
func CopyRepository ¶
func CopyRepository(repositoryFullPath string, destinationRepositoryName string, sourceRepositoryName string) bool
CopyRepository copies repository.
func OverrideAuthor ¶
func OverrideAuthor(path string, CommitsOverridingConfig model.CommitsOverriding) bool
OverrideAuthor overrides commits authors.
func RemoveTemporaryGitFolder ¶
RemoveTemporaryGitFolder removes temp git folder.
func RestoreGitFolder ¶
RestoreGitFolder restores git folder.
func RewriteGitFiles ¶
RewriteGitFiles rewrites git files.
func TemporaryMoveGitFolder ¶
TemporaryMoveGitFolder moves git folder.
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.