diff options
| author | 2026-03-28 17:55:37 +0000 | |
|---|---|---|
| committer | 2026-03-28 17:55:37 +0000 | |
| commit | 94a3920bb31bb00d31c1e8e2a680729eec996b77 (patch) | |
| tree | 08673f24a74751288f6259e319bd2bdd3848d1d3 /repository/commit_queries.go | |
| parent | commitquery: TODO on global arena (diff) | |
| signature | No signature | |
repository: Expose CommitQueries
Diffstat (limited to 'repository/commit_queries.go')
| -rw-r--r-- | repository/commit_queries.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/repository/commit_queries.go b/repository/commit_queries.go new file mode 100644 index 00000000..e3d223ae --- /dev/null +++ b/repository/commit_queries.go @@ -0,0 +1,11 @@ +package repository + +import "codeberg.org/lindenii/furgit/commitquery" + +// CommitQueries returns commit queries backed by the repository's object store +// and optional commit-graph. +// +// Labels: Life-Parent, Close-No. +func (repo *Repository) CommitQueries() *commitquery.Queries { + return repo.commitQueries +} |
