mirror of
https://github.com/go-gitea/gitea
synced 2024-12-16 04:44:02 +01:00
11 lines
366 B
Go
11 lines
366 B
Go
|
// 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.
|
||
|
}
|