mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Add a Row type.
This commit is contained in:
parent
f97b2aa8b4
commit
8db4f0f947
@ -24,6 +24,11 @@ data HTML =
|
||||
split :: Diff a Info -> String -> String -> IO ByteString
|
||||
split _ _ _ = return mempty
|
||||
|
||||
data Row =
|
||||
ContextRow HTML HTML
|
||||
| ReplaceRow HTML HTML
|
||||
| InsertRow HTML
|
||||
| DeleteRow HTML
|
||||
|
||||
straightToSplit :: Diff a Info -> String -> String -> [(HTML, HTML)]
|
||||
straightToSplit diff before after = []
|
||||
|
Loading…
Reference in New Issue
Block a user