1
1
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:
Patrick Thomson 2019-01-24 12:04:40 -05:00
parent 47ec11cbc4
commit e69e2b114d

View File

@ -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