mirror of
https://github.com/github/semantic.git
synced 2024-12-30 02:14:20 +03:00
🔥 DiffArguments.
This commit is contained in:
parent
b74cc92213
commit
2cd59243a0
@ -10,14 +10,6 @@ import Renderer
|
||||
data DiffMode = DiffStdin | DiffPaths (FilePath, Maybe Language) (FilePath, Maybe Language)
|
||||
deriving Show
|
||||
|
||||
data DiffArguments where
|
||||
DiffArguments :: (Monoid output, StringConv output ByteString) =>
|
||||
{ diffRenderer :: DiffRenderer output
|
||||
, diffMode :: DiffMode
|
||||
} -> DiffArguments
|
||||
|
||||
deriving instance Show DiffArguments
|
||||
|
||||
|
||||
data ParseMode = ParseStdin | ParsePaths [(FilePath, Maybe Language)]
|
||||
deriving Show
|
||||
|
Loading…
Reference in New Issue
Block a user