Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1e0129f

Browse filesBrowse files
committed
A few more properties while we are at it
1 parent 2e1d438 commit 1e0129f
Copy full SHA for 1e0129f

File tree

Expand file treeCollapse file tree

1 file changed

+9
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-1
lines changed

‎src/main/java/org/kohsuke/github/GHRepository.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRepository.java
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class GHRepository {
6363
private boolean has_issues, has_wiki, fork, has_downloads;
6464
@JsonProperty("private")
6565
private boolean _private;
66-
private int watchers,forks,open_issues,size;
66+
private int watchers,forks,open_issues,size,network_count,subscribers_count;
6767
private String created_at, pushed_at;
6868
private Map<Integer,GHMilestone> milestones = new HashMap<Integer, GHMilestone>();
6969

@@ -220,6 +220,14 @@ public int getOpenIssueCount() {
220220
return open_issues;
221221
}
222222

223+
public int getNetworkCount() {
224+
return network_count;
225+
}
226+
227+
public int getSubscribersCount() {
228+
return subscribers_count;
229+
}
230+
223231
/**
224232
*
225233
* @return

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.