| Copyright | (c) 2017 Red Hat Inc. |
|---|---|
| License | LGPL |
| Maintainer | https://github.com/weldr |
| Stability | alpha |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.ContentStore.Config
Description
Manage the content store's internal config file.
- data Config = Config {
- confCompressed :: Bool
- confHash :: Text
- defaultConfig :: Config
- readConfig :: FilePath -> IO (Either Text Config)
- writeConfig :: FilePath -> Config -> IO ()
Documentation
Configuration information needed by the content store.
Constructors
| Config | |
Fields
| |
defaultConfig :: Config Source #
Construct a default Config record useful for when creating a new ContentStore,
as with mkContentStore. Among other things, this is where the default hash
algorithm is defined.