Safe Haskell | None |
---|---|
Language | GHC2021 |
PathSize.Data.Config
Description
Supplies PathSize Config
.
Since: 0.1
Synopsis
- data Config = MkConfig {}
- defaultConfig :: Config
- data Strategy
- _Sync :: Prism' Strategy ()
- _Async :: Prism' Strategy ()
- _AsyncPool :: Prism' Strategy ()
- defaultNumPaths :: Positive Int
- defaultNumPathsSize :: Positive Int
Config
Since: 0.1
Constructors
MkConfig | |
Fields
|
Instances
defaultConfig :: Config Source #
MkConfig { searchAll = True, maxDepth = Nothing, exclude = [], filesOnly = False, ignoreDirIntrinsicSize = False, numPaths = Just 10, strategy = Async }
Since: 0.1
Strategy
Describes the path search strategy.
Since: 0.1
Constructors
Sync | No threads. Since: 0.1 |
Async | Lightweight threads. Since: 0.1 |
AsyncPool | Uses a thread pool. Since: 0.1 |
Instances
Bounded Strategy Source # | Since: 0.1 |
Enum Strategy Source # | Since: 0.1 |
Defined in PathSize.Data.Config | |
Show Strategy Source # | Since: 0.1 |
Eq Strategy Source # | Since: 0.1 |
Ord Strategy Source # | Since: 0.1 |
Defined in PathSize.Data.Config |
_AsyncPool :: Prism' Strategy () Source #
Since: 0.1
Constants
defaultNumPaths :: Positive Int Source #
Default num paths for normal, full search.
Since: 0.1
defaultNumPathsSize :: Positive Int Source #
Default num paths for size search.
Since: 0.1