mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 11:40:42 +00:00
introduce DefaultBranch property
This commit is contained in:
@@ -35,6 +35,7 @@ public class RepositoriesClientTests
|
||||
Assert.True(repository.HasIssues);
|
||||
Assert.True(repository.HasWiki);
|
||||
Assert.Null(repository.Homepage);
|
||||
Assert.NotNull(repository.DefaultBranch);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Octokit
|
||||
public bool Fork { get; set; }
|
||||
public int ForksCount { get; set; }
|
||||
public int WatchersCount { get; set; }
|
||||
public string MasterBranch { get; set; }
|
||||
public string DefaultBranch { get; set; }
|
||||
public int OpenIssuesCount { get; set; }
|
||||
public DateTimeOffset? PushedAt { get; set; }
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user