File tree Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,28 @@ Description : Representation of Nix store paths.
1010{-# LANGUAGE AllowAmbiguousTypes #-}
1111{-# LANGUAGE DataKinds #-}
1212
13- module System.Nix.Internal.StorePath where
13+ module System.Nix.Internal.StorePath
14+ ( -- * Basic store path types
15+ StorePath (.. )
16+ , StorePathName (.. )
17+ , StorePathSet
18+ , mkStorePathHashPart
19+ , StorePathHashPart (.. )
20+ , ContentAddressableAddress (.. )
21+ , NarHashMode (.. )
22+ , -- * Manipulating 'StorePathName'
23+ makeStorePathName
24+ , validStorePathName
25+ , -- * Rendering out 'StorePath's
26+ storePathToFilePath
27+ , storePathToRawFilePath
28+ , storePathToText
29+ , storePathToNarInfo
30+ , -- * Parsing 'StorePath's
31+ parsePath
32+ , pathParser
33+ )
34+ where
1435import System.Nix.Internal.Hash
1536import System.Nix.Internal.Base
1637import qualified System.Nix.Internal.Base32 as Nix.Base32
Original file line number Diff line number Diff line change @@ -4,15 +4,14 @@ Description : Representation of Nix store paths.
44module System.Nix.StorePath
55 ( -- * Basic store path types
66 StorePath (.. )
7- , StorePathName
7+ , StorePathName ( .. )
88 , StorePathSet
99 , mkStorePathHashPart
1010 , StorePathHashPart (.. )
1111 , ContentAddressableAddress (.. )
1212 , NarHashMode (.. )
1313 , -- * Manipulating 'StorePathName'
1414 makeStorePathName
15- , unStorePathName
1615 , validStorePathName
1716 , -- * Rendering out 'StorePath's
1817 storePathToFilePath
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ import qualified Data.Text as T
1111
1212import Test.Tasty.QuickCheck
1313
14- import System.Nix.Hash
15- import System.Nix.StorePath
14+ import System.Nix.Internal.Hash
1615import System.Nix.Internal.StorePath
1716import Control.Applicative ( liftA3 )
1817import Data.Coerce ( coerce )
You can’t perform that action at this time.
0 commit comments