Cachix.Types.NarInfo
Contents
type CachixNarInfo = NarInfo Text Text Text Source #
data NarInfo fp txt hash #
Constructors
Fields
Defined in Cachix.Types.ContentTypes
Methods
mimeUnrender :: Proxy XNixNarInfo -> ByteString -> Either String CachixNarInfo
mimeUnrenderWithType :: Proxy XNixNarInfo -> MediaType -> ByteString -> Either String CachixNarInfo
Defined in Nix.NarInfo.Types
(==) :: NarInfo fp txt hash -> NarInfo fp txt hash -> Bool #
(/=) :: NarInfo fp txt hash -> NarInfo fp txt hash -> Bool #
showsPrec :: Int -> NarInfo fp txt hash -> ShowS #
show :: NarInfo fp txt hash -> String #
showList :: [NarInfo fp txt hash] -> ShowS #
Associated Types
type Rep (NarInfo fp txt hash) :: Type -> Type #
from :: NarInfo fp txt hash -> Rep (NarInfo fp txt hash) x #
to :: Rep (NarInfo fp txt hash) x -> NarInfo fp txt hash #
Defined in Cachix.Types.NarInfo
rnf :: NarInfo Text Text Text -> () #
declareNamedSchema :: Proxy (NarInfo Text Text Text) -> Declare (Definitions Schema) NamedSchema
parseJSON :: Value -> Parser (NarInfo Text Text Text)
parseJSONList :: Value -> Parser [NarInfo Text Text Text]
toJSON :: NarInfo Text Text Text -> Value
toEncoding :: NarInfo Text Text Text -> Encoding
toJSONList :: [NarInfo Text Text Text] -> Value
toEncodingList :: [NarInfo Text Text Text] -> Encoding