tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
RepositoryUpdateRequest.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using System.ComponentModel.DataAnnotations;
3
5
7{
12 {
16 [StringLength(Limits.MaximumCommitShaLength)]
17 public string? CheckoutSha { get; set; }
18
22 public bool? UpdateFromOrigin { get; set; }
23
27 public ICollection<TestMergeParameters>? NewTestMerges { get; set; }
28 }
29}
Sanity limits to prevent users from overloading.
Definition Limits.cs:9
const int MaximumCommitShaLength
Length limit for git commit SHAs.
Definition Limits.cs:28
bool? UpdateFromOrigin
Do the equivalent of a git pull. Will attempt to merge unless RepositoryApiBase.Reference is also spe...
ICollection< TestMergeParameters >? NewTestMerges
TestMergeParameters for new TestMerges. Note that merges that conflict will not be performed.