Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Provide paths for Persist
Synopsis
- data PersistPath :: Effect where
- PersistPath :: Maybe (Path Rel Dir) -> PersistPath m (Path Abs Dir)
- persistPath :: forall r. Member PersistPath r => Maybe (Path Rel Dir) -> Sem r (Path Abs Dir)
- setting :: Setting (Path Abs Dir)
- persistRoot :: Member PersistPath r => Sem r (Path Abs Dir)
- persistSubPath :: Member PersistPath r => Path Rel Dir -> Sem r (Path Abs Dir)
Documentation
data PersistPath :: Effect where Source #
This is a utility effect for Persist
, determining the root directory for persistence files.
persistPath :: forall r. Member PersistPath r => Maybe (Path Rel Dir) -> Sem r (Path Abs Dir) Source #
setting :: Setting (Path Abs Dir) Source #
This setting may be used to specify the root directory for all plugins. The default is to use the XDG cache dir.
persistRoot :: Member PersistPath r => Sem r (Path Abs Dir) Source #
Get the root directory for persistence files.