mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Stub in a function rendering split diffs directly.
This commit is contained in:
parent
4853095dbd
commit
f97b2aa8b4
@ -24,6 +24,10 @@ data HTML =
|
||||
split :: Diff a Info -> String -> String -> IO ByteString
|
||||
split _ _ _ = return mempty
|
||||
|
||||
|
||||
straightToSplit :: Diff a Info -> String -> String -> [(HTML, HTML)]
|
||||
straightToSplit diff before after = []
|
||||
|
||||
splitDiff :: Diff a Info -> String -> String -> Patch (HTML, Range)
|
||||
splitDiff diff before after = iter toElements $ splitPatch before after <$> diff
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user