summaryrefslogtreecommitdiffstats
path: root/modules/structs/repo_compare.go
blob: 8a12498705112527ea3d1c50844c1ffb83889ae4 (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2024 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package structs

// Compare represents a comparison between two commits.
type Compare struct {
	TotalCommits int       `json:"total_commits"` // Total number of commits in the comparison.
	Commits      []*Commit `json:"commits"`       // List of commits in the comparison.
}