6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 00:54:41 +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

@@ -10,7 +10,7 @@ const (
head = "HEAD"
)
// Printable represents a repository which status can be printed
// Printable represents a repository which status can be printed.
type Printable interface {
Path() string
Current() string

View File

@@ -203,7 +203,7 @@ func indentation(node *Node) string {
return indent.String()
}
// isYoungest checks if the node is the last one in the slice of children
// isYoungest checks if the node is the last one in the slice of children.
func (n *Node) isYoungest() bool {
if n.parent == nil {
return true