Skip to content
Snippets Groups Projects
Commit ef6fe247 authored by Edsko de Vries's avatar Edsko de Vries
Browse files

Address comments on #2949.

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
```

with

```
cacheFile (SandboxIndex index) = index `replaceExtension` "cache"
```

This also renames `repoRemote'` to `maybeRepoRemote`.

I believe this addresses all comments.
parent a301b156
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment