module Unison.Codebase.PushBehavior
( PushBehavior (..),
)
where
data PushBehavior
=
ForcePush
|
RequireEmpty
|
RequireNonEmpty
deriving stock (PushBehavior -> PushBehavior -> Bool
(PushBehavior -> PushBehavior -> Bool)
-> (PushBehavior -> PushBehavior -> Bool) -> Eq PushBehavior
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PushBehavior -> PushBehavior -> Bool
== :: PushBehavior -> PushBehavior -> Bool
$c/= :: PushBehavior -> PushBehavior -> Bool
/= :: PushBehavior -> PushBehavior -> Bool
Eq, Int -> PushBehavior -> ShowS
[PushBehavior] -> ShowS
PushBehavior -> String
(Int -> PushBehavior -> ShowS)
-> (PushBehavior -> String)
-> ([PushBehavior] -> ShowS)
-> Show PushBehavior
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PushBehavior -> ShowS
showsPrec :: Int -> PushBehavior -> ShowS
$cshow :: PushBehavior -> String
show :: PushBehavior -> String
$cshowList :: [PushBehavior] -> ShowS
showList :: [PushBehavior] -> ShowS
Show)