@@ -1,6 +1,8 @@
1{-# OPTIONS_GHC -Wall #-}
1{-# OPTIONS_GHC -Wall #-}
2module Stuff
2module Stuff
4 , prepublishDir
6 , prepublishDir
@@ -9,7 +11,7 @@ module Stuff
9 , PackageCache
11 , PackageCache
10 , getPackageCache
12 , getPackageCache
11 , registry
13 , registry
12− , metadata
14+ , package
13 , getReplCache
15 , getReplCache
@@ -36,7 +38,17 @@ stuff =
37details :: FilePath
39details :: FilePath
39− stuff </> "details.dat"
41+ stuff </> "d.dat"
44+interfaces :: FilePath
42prepublishDir :: FilePath
54prepublishDir :: FilePath
@@ -117,9 +129,9 @@ registry (PackageCache dir) =
117 dir </> "registry.dat"
129 dir </> "registry.dat"
120−metadata :: PackageCache -> Pkg.Name -> V.Version -> String -> FilePath
132+package :: PackageCache -> Pkg.Name -> V.Version -> FilePath
121−metadata (PackageCache dir) name version path =
133+package (PackageCache dir) name version =
122− dir </> Pkg.toFilePath name </> V.toChars version </> path
134+ dir </> Pkg.toFilePath name </> V.toChars version