git

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitService

type GitService struct {
}

func NewGitService

func NewGitService() *GitService

func (*GitService) AddFileToStaging added in v1.1.0

func (s *GitService) AddFileToStaging(file string) error

func (*GitService) CreateCommit

func (s *GitService) CreateCommit(message string) error

func (*GitService) GetChangedFiles

func (s *GitService) GetChangedFiles() ([]models.GitChange, error)

func (*GitService) GetCurrentBranch added in v1.1.0

func (s *GitService) GetCurrentBranch() (string, error)

func (*GitService) GetDiff

func (s *GitService) GetDiff() (string, error)

func (*GitService) HasStagedChanges

func (s *GitService) HasStagedChanges() bool

HasStagedChanges verifica si hay cambios en el área de staging

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL