mirror of
https://github.com/github/semantic.git
synced 2025-01-01 19:55:34 +03:00
Moved isBranchInfo to DiffSummary
This commit is contained in:
parent
e58438f4d9
commit
17da45b320
@ -90,10 +90,5 @@ isIndexedOrFixed' syntax = case syntax of
|
||||
(Fixed _) -> True
|
||||
_ -> False
|
||||
|
||||
isBranchInfo :: DiffInfo -> Bool
|
||||
isBranchInfo info = case info of
|
||||
(BranchInfo _ _ _) -> True
|
||||
_ -> False
|
||||
|
||||
isBranchNode :: Patch DiffInfo -> Bool
|
||||
isBranchNode = any isBranchInfo
|
||||
|
Loading…
Reference in New Issue
Block a user