Commit 30f9b86b authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Document downloadIndex more clearly about hackage-security.

CC @hvr

Signed-off-by: default avatarEdward Z. Yang <>
parent 6a4844b8
......@@ -182,7 +182,9 @@ fetchRepoTarball verbosity repoCtxt repo pkgid = do
Sec.downloadPackage' rep pkgid path
return path
-- | Downloads an index file to [config-dir/packages/serv-id].
-- | Downloads an index file to [config-dir/packages/serv-id] without
-- hackage-security. You probably don't want to call this directly;
-- use 'updateRepo' instead.
downloadIndex :: HttpTransport -> Verbosity -> RemoteRepo -> FilePath -> IO DownloadResult
downloadIndex transport verbosity remoteRepo cacheDir = do
Supports Markdown
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