Cachix.Types.NarInfoHash
newtype NarInfoHash Source #
Store path hash
Constructors
Fields
Defined in Cachix.Types.NarInfoHash
Associated Types
type Rep NarInfoHash :: Type -> Type #
Methods
from :: NarInfoHash -> Rep NarInfoHash x #
to :: Rep NarInfoHash x -> NarInfoHash #
toParamSchema :: forall (t :: SwaggerKind Type). Proxy NarInfoHash -> ParamSchema t
declareNamedSchema :: Proxy NarInfoHash -> Declare (Definitions Schema) NamedSchema
parseUrlPiece :: Text -> Either Text NarInfoHash
parseHeader :: ByteString -> Either Text NarInfoHash
parseQueryParam :: Text -> Either Text NarInfoHash
toUrlPiece :: NarInfoHash -> Text
toEncodedUrlPiece :: NarInfoHash -> Builder
toHeader :: NarInfoHash -> ByteString
toQueryParam :: NarInfoHash -> Text