mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
Move the query functions into their own file
This commit is contained in:
parent
47ec11cbc4
commit
e69e2b114d
@ -4,6 +4,7 @@ module Data.GitHub.Git
|
|||||||
( OID (..)
|
( OID (..)
|
||||||
, Ref (..)
|
, Ref (..)
|
||||||
, SHA (..)
|
, SHA (..)
|
||||||
|
, nullSHA
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Prologue
|
import Prologue
|
||||||
@ -21,3 +22,6 @@ newtype Ref = Ref Text
|
|||||||
newtype SHA = SHA Text
|
newtype SHA = SHA Text
|
||||||
deriving stock (Eq, Show, Ord)
|
deriving stock (Eq, Show, Ord)
|
||||||
deriving newtype (MessageField, Primitive)
|
deriving newtype (MessageField, Primitive)
|
||||||
|
|
||||||
|
nullSHA :: SHA
|
||||||
|
nullSHA = SHA mempty
|
||||||
|
Loading…
Reference in New Issue
Block a user