[Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701)
* update github.com/xanzy/go-gitlab v0.31.0 => v0.37.0 * vendor * adapt changes Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
0ed5e103fe
commit
0c6a802731
44 changed files with 2436 additions and 776 deletions
13
vendor/github.com/xanzy/go-gitlab/commits.go
generated
vendored
13
vendor/github.com/xanzy/go-gitlab/commits.go
generated
vendored
|
@ -50,6 +50,7 @@ type Commit struct {
|
|||
Status *BuildStateValue `json:"status"`
|
||||
LastPipeline *PipelineInfo `json:"last_pipeline"`
|
||||
ProjectID int `json:"project_id"`
|
||||
WebURL string `json:"web_url"`
|
||||
}
|
||||
|
||||
// CommitStats represents the number of added and deleted files in a commit.
|
||||
|
@ -118,11 +119,13 @@ const (
|
|||
|
||||
// CommitAction represents a single file action within a commit.
|
||||
type CommitAction struct {
|
||||
Action FileAction `url:"action" json:"action"`
|
||||
FilePath string `url:"file_path" json:"file_path"`
|
||||
PreviousPath string `url:"previous_path,omitempty" json:"previous_path,omitempty"`
|
||||
Content string `url:"content,omitempty" json:"content,omitempty"`
|
||||
Encoding string `url:"encoding,omitempty" json:"encoding,omitempty"`
|
||||
Action FileAction `url:"action" json:"action"`
|
||||
FilePath string `url:"file_path" json:"file_path"`
|
||||
PreviousPath string `url:"previous_path,omitempty" json:"previous_path,omitempty"`
|
||||
Content string `url:"content,omitempty" json:"content,omitempty"`
|
||||
Encoding string `url:"encoding,omitempty" json:"encoding,omitempty"`
|
||||
LastCommitID string `url:"last_commit_id,omitempty" json:"last_commit_id,omitempty"`
|
||||
ExecuteFilemode bool `url:"execute_filemode,omitempty" json:"execute_filemode,omitempty"`
|
||||
}
|
||||
|
||||
// CommitRef represents the reference of branches/tags in a commit.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue