Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type MetadataMap = Map FilePath CompileMetadata Source #
createCachePath :: FilePath -> TrackedErrorsIO () Source #
eraseCachedData :: FilePath -> TrackedErrorsIO () Source #
findSourceFiles :: FilePath -> [FilePath] -> TrackedErrorsIO ([FilePath], [FilePath], [FilePath]) Source #
getExprMap :: FilePath -> ModuleConfig -> TrackedErrorsIO (ExprMap SourceContext) Source #
getIncludePathsForDeps :: [CompileMetadata] -> [FilePath] Source #
getLibrariesForDeps :: [CompileMetadata] -> [FilePath] Source #
getLinkFlagsForDeps :: [CompileMetadata] -> [String] Source #
getNamespacesForDeps :: [CompileMetadata] -> [Namespace] Source #
getObjectFilesForDeps :: [CompileMetadata] -> [ObjectFile] Source #
getObjectFileResolver :: [ObjectFile] -> Set Namespace -> Set CategoryName -> [FilePath] Source #
getRealPathsForDeps :: [CompileMetadata] -> [FilePath] Source #
getSourceFilesForDeps :: [CompileMetadata] -> [FilePath] Source #
isPathConfigured :: FilePath -> FilePath -> TrackedErrorsIO Bool Source #
isPathUpToDate :: VersionHash -> ForceMode -> FilePath -> TrackedErrorsIO Bool Source #
loadModuleGlobals :: PathIOHandler r => r -> FilePath -> (Namespace, Namespace) -> [FilePath] -> Maybe CompileMetadata -> [CompileMetadata] -> [CompileMetadata] -> TrackedErrorsIO [WithVisibility (AnyCategory SourceContext)] Source #
loadModuleMetadata :: VersionHash -> ForceMode -> MetadataMap -> FilePath -> TrackedErrorsIO CompileMetadata Source #
loadPrivateDeps :: VersionHash -> ForceMode -> MetadataMap -> [CompileMetadata] -> TrackedErrorsIO [CompileMetadata] Source #
loadPublicDeps :: VersionHash -> ForceMode -> MetadataMap -> [FilePath] -> TrackedErrorsIO [CompileMetadata] Source #
loadTestingDeps :: VersionHash -> ForceMode -> MetadataMap -> CompileMetadata -> TrackedErrorsIO [CompileMetadata] Source #
mapMetadata :: [CompileMetadata] -> MetadataMap Source #
resolveCategoryDeps :: [CategoryName] -> [CompileMetadata] -> [CategoryIdentifier] Source #
resolveObjectDeps :: [CompileMetadata] -> FilePath -> FilePath -> [([FilePath], CxxOutput)] -> [ObjectFile] Source #
writeCachedFile :: FilePath -> String -> FilePath -> String -> TrackedErrorsIO () Source #
writeMetadata :: FilePath -> CompileMetadata -> TrackedErrorsIO () Source #
writePossibleTraces :: FilePath -> Set String -> TrackedErrorsIO () Source #
writeRecompile :: FilePath -> ModuleConfig -> TrackedErrorsIO () Source #