aboutsummaryrefslogtreecommitdiff
path: root/diff/trees/entry.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-04-02 06:23:30 +0000
committerGravatar Runxi Yu2026-04-02 06:28:39 +0000
commita041d523de389b65b98a5373a8034041db2a8d83 (patch)
tree7b423dc735f463be616045f2c3c2095a7737aca7 /diff/trees/entry.go
parentresearch: Add dynamic pack resources (diff)
signatureNo signature
*: Remove
Diffstat (limited to 'diff/trees/entry.go')
-rw-r--r--diff/trees/entry.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/diff/trees/entry.go b/diff/trees/entry.go
deleted file mode 100644
index 84813a79..00000000
--- a/diff/trees/entry.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package trees
-
-import "codeberg.org/lindenii/furgit/object/tree"
-
-// Entry is one recursive tree difference at a path.
-type Entry struct {
- // Path is the slash-separated path relative to the diff root.
- Path []byte
- // Kind is the difference kind for this path.
- Kind EntryKind
- // Old is the old tree entry (nil when Kind is EntryKindAdded).
- Old *tree.TreeEntry
- // New is the new tree entry (nil when Kind is EntryKindDeleted).
- New *tree.TreeEntry
-}