Documentation
¶
Index ¶
- func CalculateFileLine(diffLines []string, visualLineIndex int) int
- func DiffCmd(targetBranch, path string) tea.Cmd
- func DiffStats(targetBranch string) (added int, deleted int, err error)
- func DiffStatsByFile(targetBranch string) (map[string][2]int, error)
- func ExtractFileDiff(diffText, targetPath string) string
- func GetCurrentBranch() string
- func GetRepoName() string
- func ListChangedFiles(targetBranch string) ([]string, error)
- func OpenEditorCmd(path string, lineNumber int, targetBranch string, editor string) tea.Cmd
- func ParseFilesFromDiff(diffText string) []string
- type DiffMsg
- type EditorFinishedMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateFileLine ¶
func ExtractFileDiff ¶
func GetCurrentBranch ¶
func GetCurrentBranch() string
func GetRepoName ¶
func GetRepoName() string
func ListChangedFiles ¶
func OpenEditorCmd ¶
func ParseFilesFromDiff ¶
Types ¶
type EditorFinishedMsg ¶
type EditorFinishedMsg struct{ Err error }
Click to show internal directories.
Click to hide internal directories.