code.gitea.io/gitea@v1.22.3/modules/structs/repo_compare.go (about) 1 // Copyright 2024 The Gitea Authors. All rights reserved. 2 // SPDX-License-Identifier: MIT 3 4 package structs 5 6 // Compare represents a comparison between two commits. 7 type Compare struct { 8 TotalCommits int `json:"total_commits"` // Total number of commits in the comparison. 9 Commits []*Commit `json:"commits"` // List of commits in the comparison. 10 }