stack-3.1.1: 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) => Package -> Path Abs File -> m PackageComponentFile 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"