gitea源码

1234567891011
  1. // Copyright 2024 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package structs
  4. // Compare represents a comparison between two commits.
  5. type Compare struct {
  6. TotalCommits int `json:"total_commits"` // Total number of commits in the comparison.
  7. Commits []*Commit `json:"commits"` // List of commits in the comparison.
  8. }