diff options
| author | 2026-03-11 20:41:32 +0800 | |
|---|---|---|
| committer | 2026-03-11 20:41:32 +0800 | |
| commit | 040b572d95e4ca27e1ada6113c405b8a1eb4a669 (patch) | |
| tree | 68d826f4d91144105802c9d1c67175ba9b314e29 /commitquery/commit.go | |
| parent | research: Maybe drop mmap in packfile_bloom (diff) | |
| signature | No signature | |
commitquery: Merge from ancestor and mergebases
Diffstat (limited to 'commitquery/commit.go')
| -rw-r--r-- | commitquery/commit.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/commitquery/commit.go b/commitquery/commit.go new file mode 100644 index 00000000..f4709270 --- /dev/null +++ b/commitquery/commit.go @@ -0,0 +1,17 @@ +package commitquery + +import ( + commitgraphread "codeberg.org/lindenii/furgit/commitgraph/read" + "codeberg.org/lindenii/furgit/objectid" +) + +// 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 +} |
