Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
projectFromSegments :: ProjectType -> ProjectName -> ProjectRoot -> Project Source #
projectFromSpec :: ProjectSpec -> Project Source #
hasProjectRoot :: ProjectRoot -> ProjectSpec -> Bool Source #
hasProjectTypeName :: ProjectType -> ProjectName -> ProjectSpec -> Bool Source #
byProjectTypeName :: [ProjectSpec] -> ProjectName -> ProjectType -> Maybe ProjectSpec Source #
matchProjectBases :: [Path Abs Dir] -> ProjectRoot -> Bool Source #
byProjectBaseSubpath :: Members [Stop ResolveError, Embed IO] r => ProjectName -> ProjectType -> Path Abs Dir -> Sem r (Maybe Project) Source #
byProjectBasesSubpath :: Members [Stop ResolveError, Embed IO] r => [Path Abs Dir] -> ProjectName -> ProjectType -> Sem r (Maybe Project) Source #
virtualProject :: ProjectName -> Project Source #
resolveByTypeAndPath :: [Path Abs Dir] -> ProjectName -> ProjectType -> ProjectRoot -> Maybe Project Source #
resolveByType :: Members [Stop ResolveError, Embed IO] r => [Path Abs Dir] -> [ProjectSpec] -> ProjectName -> ProjectType -> Sem r (Maybe Project) Source #
projectFromNameIn :: Members [Stop ResolveError, Embed IO] r => ProjectName -> Path Abs Dir -> Sem r (Maybe Project) Source #
resolveByName :: Members [Stop ResolveError, Embed IO] r => [Path Abs Dir] -> ProjectName -> Sem r (Maybe Project) Source #
globDir :: Members [Stop ResolveError, Embed IO] r => Path Abs Dir -> [Text] -> Sem r (Maybe FilePath) Source #
resolveFromDirContents :: Members [Stop ResolveError, Embed IO] r => Map ProjectType [Text] -> ProjectName -> ProjectRoot -> Sem r (Maybe Project) Source #
resolveByRoot :: Members [Stop ResolveError, Embed IO] r => ProjectConfig -> ProjectName -> [ProjectSpec] -> ProjectRoot -> Sem r (Maybe Project) Source #
augmentTypes :: ProjectConfig -> ProjectType -> [ProjectType] -> [ProjectType] Source #
augmentLangs :: ProjectConfig -> ProjectLang -> [ProjectLang] -> [ProjectLang] Source #
augmentFromConfig :: ProjectConfig -> Project -> Project Source #
fromName :: Members [Stop ResolveError, Log, Embed IO] r => [ProjectSpec] -> ProjectConfig -> ProjectName -> Maybe ProjectType -> Sem r Project Source #
fromNameSettings :: Members [Settings, Stop ResolveError, Log, Embed IO] r => ProjectName -> Maybe ProjectType -> Sem r Project Source #
projectConfig :: Member Settings r => Sem r ProjectConfig Source #
rootExplicit :: [ProjectSpec] -> ProjectRoot -> Maybe Project Source #
rootProjectTypes :: Map ProjectType [Path Abs Dir] -> ProjectName -> ProjectRoot -> Maybe Project Source #
rootTypeDirs :: Map ProjectType [Path Abs Dir] -> ProjectName -> ProjectRoot -> Maybe Project Source #
rootBaseDirs :: [Path Abs Dir] -> ProjectName -> ProjectRoot -> Maybe Project Source #
projectName :: ProjectRoot -> ProjectName Source #
firstJustMOr :: Monad m => a -> [m (Maybe a)] -> m a Source #
fromRoot :: Members [Stop ResolveError, Embed IO] r => [ProjectSpec] -> ProjectConfig -> ProjectRoot -> Sem r Project Source #
fromRootSettings :: Members [Settings, Stop ResolveError, Embed IO] r => ProjectRoot -> Sem r Project Source #