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 d36e145

Browse filesBrowse files
committed
Need to be able to tell if this is a creation / deletion of a ref for multibranch projects
1 parent 498d63e commit d36e145
Copy full SHA for d36e145

File tree

Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHEventPayload.java
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,18 @@ public int getSize() {
509509
return size;
510510
}
511511

512+
public boolean isCreated() {
513+
return created;
514+
}
515+
516+
public boolean isDeleted() {
517+
return deleted;
518+
}
519+
520+
public boolean isForced() {
521+
return forced;
522+
}
523+
512524
/**
513525
* The list of pushed commits.
514526
*/

0 commit comments

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