bdcs-0.6.1: Tools for managing a content store of software packages

Copyright(c) 2017 Red Hat Inc.
LicenseLGPL
Maintainerhttps://github.com/weldr
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

BDCS.KeyType

Description

Data types for working with the key in a KeyVal.

Synopsis

Documentation

data KeyType Source #

The KeyVal record features a namespaced key, allowing multiple types of keys to exist and be managed in the same database. This type allows differentiation of the multiple kinds of keys.

Constructors

LabelKey Label

A key allowing only pre-defined labels to be appplied.

TextKey Text

Ordinary text key

asText :: KeyType -> Text Source #

Convert a KeyType into Text