Package sonia.scm.repository.spi
Interface HookMergeDetectionProvider
public interface HookMergeDetectionProvider
- Since:
- 2.4.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
branchesMerged
(String target, String branch) Checks whetherbranch
has been merged intotarget
.
-
Method Details
-
branchesMerged
Checks whetherbranch
has been merged intotarget
. So this will also returntrue
, whenbranch
has been deleted with this change.- Parameters:
target
- The name of the branch to check, whether the other branch has been merged into.branch
- The name of the branch to check, whether it has been merged into the other branch.- Returns:
true
whenbranch
has been merged intotarget
,false
otherwise.
-