Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cli.ProcessMetadata
Documentation
type MetadataMap = Map FilePath CompileMetadata Source #
createCachePath :: FilePath -> CompileInfoIO () Source #
eraseCachedData :: FilePath -> CompileInfoIO () Source #
findSourceFiles :: FilePath -> FilePath -> CompileInfoIO ([FilePath], [FilePath], [FilePath]) Source #
getExprMap :: FilePath -> ModuleConfig -> CompileInfoIO (ExprMap SourcePos) Source #
getIncludePathsForDeps :: [CompileMetadata] -> [FilePath] Source #
getLinkFlagsForDeps :: [CompileMetadata] -> [String] Source #
getNamespacesForDeps :: [CompileMetadata] -> [Namespace] Source #
getObjectFilesForDeps :: [CompileMetadata] -> [ObjectFile] Source #
getObjectFileResolver :: [ObjectFile] -> [Namespace] -> [CategoryName] -> [FilePath] Source #
getRealPathsForDeps :: [CompileMetadata] -> [FilePath] Source #
getSourceFilesForDeps :: [CompileMetadata] -> [FilePath] Source #
isPathUpToDate :: VersionHash -> ForceMode -> FilePath -> CompileInfoIO Bool Source #
loadModuleMetadata :: VersionHash -> ForceMode -> MetadataMap -> FilePath -> CompileInfoIO CompileMetadata Source #
loadPrivateDeps :: VersionHash -> ForceMode -> MetadataMap -> [CompileMetadata] -> CompileInfoIO [CompileMetadata] Source #
loadPublicDeps :: VersionHash -> ForceMode -> MetadataMap -> [FilePath] -> CompileInfoIO [CompileMetadata] Source #
loadTestingDeps :: VersionHash -> ForceMode -> MetadataMap -> CompileMetadata -> CompileInfoIO [CompileMetadata] Source #
mapMetadata :: [CompileMetadata] -> MetadataMap Source #
resolveCategoryDeps :: [CategoryName] -> [CompileMetadata] -> [CategoryIdentifier] Source #
resolveObjectDeps :: [CompileMetadata] -> FilePath -> FilePath -> [([FilePath], CxxOutput)] -> [ObjectFile] Source #
writeCachedFile :: FilePath -> String -> FilePath -> String -> CompileInfoIO () Source #
writeMetadata :: FilePath -> CompileMetadata -> CompileInfoIO () Source #
writeRecompile :: FilePath -> ModuleConfig -> CompileInfoIO () Source #