Commit ba0c0851 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Rename Hackage.Index -> Hackage.RepoIndex

In preperation to add Hackage.LocalIndex module
parent 034fa3ed
...@@ -19,8 +19,8 @@ module Hackage.Dependency ...@@ -19,8 +19,8 @@ module Hackage.Dependency
) where ) where
import Hackage.Config (listInstalledPackages) import Hackage.Config (listInstalledPackages)
import qualified Hackage.Index as RepoIndex import qualified Hackage.RepoIndex as RepoIndex
import Hackage.Index (RepoIndex) import Hackage.RepoIndex (RepoIndex)
import Hackage.Types (ResolvedPackage(..), UnresolvedDependency(..), import Hackage.Types (ResolvedPackage(..), UnresolvedDependency(..),
PkgInfo(..), FlagAssignment, Repo) PkgInfo(..), FlagAssignment, Repo)
import Hackage.Utils (comparing) import Hackage.Utils (comparing)
......
...@@ -22,7 +22,7 @@ import Distribution.PackageDescription ...@@ -22,7 +22,7 @@ import Distribution.PackageDescription
import Distribution.Version (showVersion) import Distribution.Version (showVersion)
import Distribution.Verbosity (Verbosity) import Distribution.Verbosity (Verbosity)
import qualified Hackage.Index as RepoIndex import qualified Hackage.RepoIndex as RepoIndex
import Hackage.Types (PkgInfo(..), Repo) import Hackage.Types (PkgInfo(..), Repo)
import Hackage.Utils (equating, comparing, intercalate, lowercase) import Hackage.Utils (equating, comparing, intercalate, lowercase)
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
-- --
-- Reading the local package index. -- Reading the local package index.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module Hackage.Index ( module Hackage.RepoIndex (
-- * Repository index data type -- * Repository index data type
RepoIndex, RepoIndex,
-- * Reading from file or memory -- * Reading from file or memory
Hackage.Index.read, Hackage.RepoIndex.read,
parse, parse,
-- * Merging indexes -- * Merging indexes
......
...@@ -38,11 +38,11 @@ Executable cabal ...@@ -38,11 +38,11 @@ Executable cabal
Hackage.Dependency Hackage.Dependency
Hackage.Fetch Hackage.Fetch
Hackage.HttpUtils Hackage.HttpUtils
Hackage.Index
Hackage.Info Hackage.Info
Hackage.Install Hackage.Install
Hackage.List Hackage.List
Hackage.ParseUtils Hackage.ParseUtils
Hackage.RepoIndex
Hackage.Setup Hackage.Setup
Hackage.Tar Hackage.Tar
Hackage.Types Hackage.Types
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment