Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- queryPathInfoEntity :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m (Maybe (Entity ValidPath))
- queryPathInfo :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m (Maybe ValidPath)
- queryReferencesEntity :: (MonadIO m, MonadLogger m) => Entity ValidPath -> SqlReadT m [Entity Ref]
- queryReferences :: (MonadIO m, MonadLogger m) => Entity ValidPath -> SqlReadT m [Ref]
- queryReferrersEntity :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m [Entity Ref]
- queryReferrers :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m [Ref]
- queryValidDerivers :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m [(Text, StorePath)]
- queryDerivationOutputs :: (MonadIO m, MonadLogger m) => Entity ValidPath -> SqlReadT m [(Text, StorePath)]
- queryPathFromHashPart :: (MonadIO m, MonadLogger m) => StoreDir -> StorePathHashPart -> SqlReadT m (Maybe StorePath)
- queryValidPathsEntity :: (MonadIO m, MonadLogger m) => SqlReadT m [Entity ValidPath]
- queryValidPaths :: (MonadIO m, MonadLogger m) => SqlReadT m [ValidPath]
- queryAllRefsEntity :: (MonadIO m, MonadLogger m) => SqlReadT m [Entity Ref]
- queryAllRefs :: (MonadIO m, MonadLogger m) => SqlReadT m [Ref]
- queryAllDerivationOutputsEntity :: (MonadIO m, MonadLogger m) => SqlReadT m [Entity DerivationOutput]
- queryAllDerivationOutputs :: (MonadIO m, MonadLogger m) => SqlReadT m [DerivationOutput]
- queryOneValidDerivationEntity :: (MonadIO m, MonadLogger m) => SqlReadT m (Maybe (Entity ValidPath))
- queryOneValidDerivation :: (MonadIO m, MonadLogger m) => SqlReadT m (Maybe ValidPath)
- queryEverything :: (MonadIO m, MonadLogger m) => SqlReadT m ([Entity ValidPath], [Entity Ref], [Entity DerivationOutput])
Documentation
queryPathInfoEntity :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m (Maybe (Entity ValidPath)) Source #
Query Entity ValidPath
for StorePath
if it exists.
queryPathInfo :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m (Maybe ValidPath) Source #
Query ValidPath
for StorePath
if it exists.
queryReferencesEntity :: (MonadIO m, MonadLogger m) => Entity ValidPath -> SqlReadT m [Entity Ref] Source #
Query references as a list of Entity Ref
s for ValidPath
using id of Entity ValidPath
queryReferences :: (MonadIO m, MonadLogger m) => Entity ValidPath -> SqlReadT m [Ref] Source #
Query references as a list of Ref
s for ValidPath
by id of Entity ValidPath
queryReferrersEntity :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m [Entity Ref] Source #
Query referrers as a list of Entity Ref
s for StorePath
queryReferrers :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m [Ref] Source #
Query referrers as a list of Ref
s for StorePath
queryValidDerivers :: (MonadIO m, MonadLogger m) => StorePath -> SqlReadT m [(Text, StorePath)] Source #
Query valid derivers as a list of (Text, StorePath)
s
for some StorePath
queryDerivationOutputs :: (MonadIO m, MonadLogger m) => Entity ValidPath -> SqlReadT m [(Text, StorePath)] Source #
Query derivation outputs as a list of (Text, StorePath)
s
for some ValidPath
by its id
queryPathFromHashPart :: (MonadIO m, MonadLogger m) => StoreDir -> StorePathHashPart -> SqlReadT m (Maybe StorePath) Source #
Query StorePath
from its hash part
queryValidPathsEntity :: (MonadIO m, MonadLogger m) => SqlReadT m [Entity ValidPath] Source #
Query all valid paths as a list of Entity ValidPath
s
queryValidPaths :: (MonadIO m, MonadLogger m) => SqlReadT m [ValidPath] Source #
Query all valid paths as a list of ValidPath
s
Testing
queryAllRefsEntity :: (MonadIO m, MonadLogger m) => SqlReadT m [Entity Ref] Source #
Query all references as a list of Entity Ref
s
queryAllRefs :: (MonadIO m, MonadLogger m) => SqlReadT m [Ref] Source #
Query all references as a list of Ref
s
queryAllDerivationOutputsEntity :: (MonadIO m, MonadLogger m) => SqlReadT m [Entity DerivationOutput] Source #
Query all derivation outputs as a list of Entity DerivationOutput
s
queryAllDerivationOutputs :: (MonadIO m, MonadLogger m) => SqlReadT m [DerivationOutput] Source #
Query all derivation outputs as a list of DerivationOutput
s
queryOneValidDerivationEntity :: (MonadIO m, MonadLogger m) => SqlReadT m (Maybe (Entity ValidPath)) Source #
Query one random derivation as an Entity ValidPath
queryOneValidDerivation :: (MonadIO m, MonadLogger m) => SqlReadT m (Maybe ValidPath) Source #
Query one random derivation as a ValidPath
queryEverything :: (MonadIO m, MonadLogger m) => SqlReadT m ([Entity ValidPath], [Entity Ref], [Entity DerivationOutput]) Source #
Query everything