diff options
| author | 2026-03-29 14:42:13 +0000 | |
|---|---|---|
| committer | 2026-03-29 14:47:04 +0000 | |
| commit | df73a4c6f1b58075316ba7449fbfb127b9fbb79d (patch) | |
| tree | 62fee259ec037410b06419ee3ac9c2c189c35ab3 /commitquery/commit_data.go | |
| parent | internal/priorityqueue: Update docs (diff) | |
| signature | No signature | |
commitquery: Reorganize
Diffstat (limited to 'commitquery/commit_data.go')
| -rw-r--r-- | commitquery/commit_data.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/commitquery/commit_data.go b/commitquery/commit_data.go new file mode 100644 index 00000000..dff6a91c --- /dev/null +++ b/commitquery/commit_data.go @@ -0,0 +1,17 @@ +package commitquery + +import ( + commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read" + objectid "codeberg.org/lindenii/furgit/object/id" +) + +// commitData stores the metadata needed by commit-domain queries. +type commitData struct { + ID objectid.ObjectID + Parents []parentRef + CommitTime int64 + Generation uint64 + HasGeneration bool + GraphPos commitgraphread.Position + HasGraphPos bool +} |
