mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-12-14 10:42:10 +03:00
Core: Internal.StorePath: explicit export list
This commit is contained in:
parent
099d02dba3
commit
d196ba5448
@ -10,7 +10,28 @@ Description : Representation of Nix store paths.
|
||||
{-# LANGUAGE AllowAmbiguousTypes #-}
|
||||
{-# LANGUAGE DataKinds #-}
|
||||
|
||||
module System.Nix.Internal.StorePath where
|
||||
module System.Nix.Internal.StorePath
|
||||
( -- * Basic store path types
|
||||
StorePath(..)
|
||||
, StorePathName(..)
|
||||
, StorePathSet
|
||||
, mkStorePathHashPart
|
||||
, StorePathHashPart(..)
|
||||
, ContentAddressableAddress(..)
|
||||
, NarHashMode(..)
|
||||
, -- * Manipulating 'StorePathName'
|
||||
makeStorePathName
|
||||
, validStorePathName
|
||||
, -- * Rendering out 'StorePath's
|
||||
storePathToFilePath
|
||||
, storePathToRawFilePath
|
||||
, storePathToText
|
||||
, storePathToNarInfo
|
||||
, -- * Parsing 'StorePath's
|
||||
parsePath
|
||||
, pathParser
|
||||
)
|
||||
where
|
||||
import System.Nix.Internal.Hash
|
||||
import System.Nix.Internal.Base
|
||||
import qualified System.Nix.Internal.Base32 as Nix.Base32
|
||||
|
@ -4,7 +4,7 @@ Description : Representation of Nix store paths.
|
||||
module System.Nix.StorePath
|
||||
( -- * Basic store path types
|
||||
StorePath(..)
|
||||
, StorePathName
|
||||
, StorePathName(..)
|
||||
, StorePathSet
|
||||
, mkStorePathHashPart
|
||||
, StorePathHashPart(..)
|
||||
@ -12,7 +12,6 @@ module System.Nix.StorePath
|
||||
, NarHashMode(..)
|
||||
, -- * Manipulating 'StorePathName'
|
||||
makeStorePathName
|
||||
, unStorePathName
|
||||
, validStorePathName
|
||||
, -- * Rendering out 'StorePath's
|
||||
storePathToFilePath
|
||||
|
@ -11,8 +11,7 @@ import qualified Data.Text as T
|
||||
|
||||
import Test.Tasty.QuickCheck
|
||||
|
||||
import System.Nix.Hash
|
||||
import System.Nix.StorePath
|
||||
import System.Nix.Internal.Hash
|
||||
import System.Nix.Internal.StorePath
|
||||
import Control.Applicative ( liftA3 )
|
||||
import Data.Coerce ( coerce )
|
||||
|
Loading…
Reference in New Issue
Block a user