Documentation
¶
Index ¶
- type Service
- func (s *Service) CleanupTempDir(path string) error
- func (s *Service) CloneRepository(url, commit string) (string, error)
- func (s *Service) CloneRepositoryWithBranch(url, branch, commit string) (string, error)
- func (s *Service) GetRepoInfo(repoPath string) (map[string]string, error)
- func (s *Service) IsValidCommit(repoPath, commit string) error
- func (s *Service) ValidateGitInstalled() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service handles git operations for the Strategic Claude Basic CLI
func (*Service) CleanupTempDir ¶
CleanupTempDir removes the temporary directory and its contents
func (*Service) CloneRepository ¶
CloneRepository clones a git repository to a temporary directory and checks out a specific commit
func (*Service) CloneRepositoryWithBranch ¶
CloneRepositoryWithBranch clones a git repository with optional branch specification and checks out a specific commit
func (*Service) GetRepoInfo ¶
GetRepoInfo returns information about the repository state
func (*Service) IsValidCommit ¶
IsValidCommit checks if a commit hash exists in the repository
func (*Service) ValidateGitInstalled ¶
ValidateGitInstalled checks if git is available in the system
Click to show internal directories.
Click to hide internal directories.