mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-23 00:39:13 +02:00
Bump go-git
This commit is contained in:
1
vendor/github.com/jesseduffield/go-git/v5/utils/merkletrie/noder/noder.go
generated
vendored
1
vendor/github.com/jesseduffield/go-git/v5/utils/merkletrie/noder/noder.go
generated
vendored
@ -53,6 +53,7 @@ type Noder interface {
|
||||
// implement NumChildren in O(1) while Children is usually more
|
||||
// complex.
|
||||
NumChildren() (int, error)
|
||||
Skip() bool
|
||||
}
|
||||
|
||||
// NoChildren represents the children of a noder without children.
|
||||
|
8
vendor/github.com/jesseduffield/go-git/v5/utils/merkletrie/noder/path.go
generated
vendored
8
vendor/github.com/jesseduffield/go-git/v5/utils/merkletrie/noder/path.go
generated
vendored
@ -15,6 +15,14 @@ import (
|
||||
// not be used.
|
||||
type Path []Noder
|
||||
|
||||
func (p Path) Skip() bool {
|
||||
if len(p) > 0 {
|
||||
return p.Last().Skip()
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// String returns the full path of the final noder as a string, using
|
||||
// "/" as the separator.
|
||||
func (p Path) String() string {
|
||||
|
Reference in New Issue
Block a user