Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Distribution.Client.Types.PackageLocation
Synopsis
- data PackageLocation local
- type UnresolvedPkgLoc = PackageLocation (Maybe FilePath)
- type ResolvedPkgLoc = PackageLocation FilePath
- type UnresolvedSourcePackage = SourcePackage UnresolvedPkgLoc
Documentation
data PackageLocation local Source #
Constructors
LocalUnpackedPackage FilePath | An unpacked package in the given dir, or current dir |
LocalTarballPackage FilePath | A package as a tarball that's available as a local tarball |
RemoteTarballPackage URI local | A package as a tarball from a remote URI |
RepoTarballPackage Repo PackageId local | A package available as a tarball from a repository. It may be from a local repository or from a remote repository, with a locally cached copy. ie a package available from hackage |
RemoteSourceRepoPackage SourceRepoMaybe local | A package available from a version control system source repository |
Instances
type UnresolvedPkgLoc = PackageLocation (Maybe FilePath) Source #
type ResolvedPkgLoc = PackageLocation FilePath Source #
type UnresolvedSourcePackage = SourcePackage UnresolvedPkgLoc Source #
Convenience alias for 'SourcePackage UnresolvedPkgLoc'.