Documentation
¶
Index ¶
- func ValidateBranch(branch string) error
- func ValidateBranchStrategy(strategy string) error
- func ValidateDirection(direction string) error
- func ValidateGitRepository() error
- func ValidateGitURL(repoURL string) error
- func ValidateInterval(intervalStr string) error
- func ValidatePath(path string) error
- func ValidateRemote(remoteName string) error
- func ValidateTargetBranch(branchName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBranch ¶
ValidateBranch validates if the provided branch name follows git branch naming rules
func ValidateBranchStrategy ¶
ValidateBranchStrategy validates if the branch strategy is valid
func ValidateDirection ¶
ValidateDirection validates if the sync direction is valid
func ValidateGitRepository ¶
func ValidateGitRepository() error
ValidateGitRepository validates if the current directory is a git repository
func ValidateGitURL ¶
ValidateGitURL validates if the provided URL is a valid git repository URL
func ValidateInterval ¶
ValidateInterval validates if the sync interval is within reasonable bounds
func ValidatePath ¶
ValidatePath validates if the provided path is valid and writable
func ValidateRemote ¶
ValidateRemote validates if the git remote exists in the current repository
func ValidateTargetBranch ¶
ValidateTargetBranch validates if the target branch exists (for specific branch strategy)
Types ¶
This section is empty.