stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.PackageFile

Description

A module which exports all package-level file-gathering logic.

Synopsis

Documentation

getPackageFile :: (HasEnvConfig s, MonadReader s m, MonadThrow m, MonadUnliftIO m) => PackageDescription -> Path Abs File -> m (Map NamedComponent (Map ModuleName (Path Abs File)), Map NamedComponent [DotCabalPath], Set (Path Abs File), [PackageWarning]) Source #

Gets all of the modules, files, build files, and data files that constitute the package. This is primarily used for dirtiness checking during build, as well as use by "stack ghci"