6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 11:58:47 +00:00

Fix issues found by godot linter

This commit is contained in:
Grzegorz Dlugoszewski
2025-08-24 17:18:03 +02:00
parent 7bc9cbb128
commit eadc2ff45e
9 changed files with 13 additions and 13 deletions

View File

@@ -160,22 +160,22 @@ func (s *Status) Branches() []string {
return branches
}
// BranchStatus returns status of a given branch
// BranchStatus returns status of a given branch.
func (s *Status) BranchStatus(branch string) string {
return s.branches[branch]
}
// WorkTreeStatus returns status of a worktree
// WorkTreeStatus returns status of a worktree.
func (s *Status) WorkTreeStatus() string {
return s.worktree
}
// Remote returns URL to remote repository
// Remote returns URL to remote repository.
func (s *Status) Remote() string {
return s.remote
}
// Errors is a slice of errors that occurred when loading repo status
// Errors is a slice of errors that occurred when loading repo status.
func (s *Status) Errors() []string {
return s.errors
}