• Edsko de Vries's avatar
    Address comments on #2949. · ef6fe247
    Edsko de Vries authored
    This changes the definition of `Index` to
    ``` haskell
    data Index =
        -- | The main index for the specified repository
        RepoIndex Repo
        -- | A sandbox-local repository
        -- Argument is the location of the index file
      | SandboxIndex FilePath
    cacheFile (SandboxIndex index) = index `replaceExtension` "cache"
    This also renames `repoRemote'` to `maybeRepoRemote`.
    I believe this addresses all comments.
IndexUtils.hs 21.6 KB