Copyright | (c) 2024 Illia Shkroba |
---|---|
License | BSD3 |
Maintainer | Illia Shkroba <[email protected]> |
Stability | unstable |
Portability | non-portable (Non-Unix systems are not supported) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
PFile.Profile.Internal.List
Description
Types and functions for listing profiles.
Synopsis
- list :: forall m. (MonadReader Env m, MonadError ListError m, MonadIO m) => ListOptions -> m [Profile]
- showListError :: ListError -> Text
- data ListError
- newtype ListOptions = ListOptions {}
Documentation
Arguments
:: forall m. (MonadReader Env m, MonadError ListError m, MonadIO m) | |
=> ListOptions | Options that control |
-> m [Profile] |
List profiles in profilesHomeDirPath
directory.
Since: 0.1.0.0
showListError :: ListError -> Text Source #
Error thrown by list
.
Since: 0.1.0.0
Constructors
ProfilesHomeDirDoesNotExistError !Absolute |
|
ListDirectoryError !Absolute !IOException |
|