diff options
| author | 2026-03-25 14:49:17 +0000 | |
|---|---|---|
| committer | 2026-03-25 15:02:22 +0000 | |
| commit | 7847657e0820af98120031f719b8ede635ad8c07 (patch) | |
| tree | 8c4439c78f72f1382edc809b49be33115847b6e7 /diff/trees/diff.go | |
| parent | object: Remove type.go (diff) | |
| signature | No signature | |
object: Split each object type into its own package v0.1.108
Diffstat (limited to 'diff/trees/diff.go')
| -rw-r--r-- | diff/trees/diff.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/diff/trees/diff.go b/diff/trees/diff.go index 742d7397..0f3cf1f2 100644 --- a/diff/trees/diff.go +++ b/diff/trees/diff.go @@ -2,15 +2,15 @@ package trees import ( - "codeberg.org/lindenii/furgit/object" objectid "codeberg.org/lindenii/furgit/object/id" + "codeberg.org/lindenii/furgit/object/tree" ) // Diff compares two trees and returns recursive differences. // // readTree is used to lazily load child trees by object ID when recursion // reaches directory entries. -func Diff(a, b *object.Tree, readTree func(objectid.ObjectID) (*object.Tree, error)) ([]Entry, error) { +func Diff(a, b *tree.Tree, readTree func(objectid.ObjectID) (*tree.Tree, error)) ([]Entry, error) { var out []Entry err := diffRecursive(a, b, nil, readTree, &out) |
