Safe Haskell | None |
---|---|
Language | Haskell2010 |
Darcs.Patch.FileHunk
Documentation
Constructors
FileHunk oid !Int [ByteString] [ByteString] |
class IsHunk (p :: Type -> Type -> Type) where #
Methods
isHunk :: p wX wY -> Maybe (FileHunk (ObjectIdOfPatch p) wX wY) #
Instances
showFileHunk :: ObjectId oid => FileNameFormat -> FileHunk oid wX wY -> Doc #
showContextFileHunk :: ObjectId oid => FileNameFormat -> [ByteString] -> FileHunk oid wB wC -> [ByteString] -> Doc #