github.com/go-git/go-git/v5/plumbing/object.Commit.Parents (method)
7 uses
github.com/go-git/go-git/v5/plumbing/object (current package)
commit.go#L110: func (c *Commit) Parents() CommitIter {
commit.go#L328: firstParent, err := c.Parents().Next()
commit_walker.go#L156: return c, c.Parents().ForEach(func(p *Commit) error {
github.com/go-git/go-git/v5
references.go#L121: iter := c.Parents()
references.go#L221: iter := c.Parents()
repository.go#L1456: iter := commit.Parents()
repository.go#L1479: c, err := commit.Parents().Next()
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |