| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Darcs.Patch.Prim.FileUUID.Core
- data Prim wX wY where
- data Hunk wX wY = H !Int !FileContent !FileContent
- data HunkMove wX wY = HM !UUID !Int !UUID !Int !FileContent
- data Object (m :: * -> *)
- = Directory DirContent
- | Blob (m FileContent) !Hash
- newtype UUID = UUID ByteString
- data Location = L !UUID !Name
- data Name
- type FileContent = ByteString
Documentation
data Prim wX wY where Source #
Constructors
| Hunk :: !UUID -> !(Hunk wX wY) -> Prim wX wY | |
| HunkMove :: !(HunkMove wX wY) -> Prim wX wY | |
| Manifest :: !UUID -> !Location -> Prim wX wY | |
| Demanifest :: !UUID -> !Location -> Prim wX wY | |
| Identity :: Prim wX wX |
Instances
| Eq2 Prim Source # | |
| Show2 Prim Source # | |
| Invert Prim Source # | |
| PatchInspect Prim Source # | |
| IsHunk Prim Source # | |
| PrimConstruct Prim Source # | |
| PrimClassify Prim Source # | |
| Annotate Prim Source # | |
| Show1 (Prim wX) Source # | |
| Eq (Prim wX wY) Source # | |
| Show (Prim wX wY) Source # | |
| type ApplyState Prim Source # | |
| type PrimOf Prim Source # | |
Constructors
| H !Int !FileContent !FileContent |
data Object (m :: * -> *) Source #
Constructors
| Directory DirContent | |
| Blob (m FileContent) !Hash |
Constructors
| UUID ByteString |
type FileContent = ByteString Source #