type github.com/go-git/go-git/v5/utils/merkletrie.Change
15 uses
github.com/go-git/go-git/v5/utils/merkletrie (current package)
change.go#L37: type Change struct {
change.go#L45: func (c *Change) Action() (Action, error) {
change.go#L60: func NewInsert(n noder.Path) Change { return Change{To: n} }
change.go#L63: func NewDelete(n noder.Path) Change { return Change{From: n} }
change.go#L67: func NewModify(a, b noder.Path) Change {
change.go#L68: return Change{
change.go#L80: func (c Change) String() string {
change.go#L97: type Changes []Change
change.go#L105: func (l *Changes) Add(c Change) {
change.go#L121: type noderToChangeFn func(noder.Path) Change // NewInsert or NewDelete
github.com/go-git/go-git/v5
worktree.go#L374: func (w *Worktree) checkoutChange(ch merkletrie.Change, t *object.Tree, idx *indexBuilder) error {
worktree_status.go#L106: func nameFromAction(ch *merkletrie.Change) string {
github.com/go-git/go-git/v5/plumbing/object
change_adaptor.go#L14: func newChange(c merkletrie.Change) (*Change, error) {
![]() |
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. |