mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-12-15 04:07:31 +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 AllowAmbiguousTypes #-}
|
||||||
{-# LANGUAGE DataKinds #-}
|
{-# 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.Hash
|
||||||
import System.Nix.Internal.Base
|
import System.Nix.Internal.Base
|
||||||
import qualified System.Nix.Internal.Base32 as Nix.Base32
|
import qualified System.Nix.Internal.Base32 as Nix.Base32
|
||||||
|
@ -4,7 +4,7 @@ Description : Representation of Nix store paths.
|
|||||||
module System.Nix.StorePath
|
module System.Nix.StorePath
|
||||||
( -- * Basic store path types
|
( -- * Basic store path types
|
||||||
StorePath(..)
|
StorePath(..)
|
||||||
, StorePathName
|
, StorePathName(..)
|
||||||
, StorePathSet
|
, StorePathSet
|
||||||
, mkStorePathHashPart
|
, mkStorePathHashPart
|
||||||
, StorePathHashPart(..)
|
, StorePathHashPart(..)
|
||||||
@ -12,7 +12,6 @@ module System.Nix.StorePath
|
|||||||
, NarHashMode(..)
|
, NarHashMode(..)
|
||||||
, -- * Manipulating 'StorePathName'
|
, -- * Manipulating 'StorePathName'
|
||||||
makeStorePathName
|
makeStorePathName
|
||||||
, unStorePathName
|
|
||||||
, validStorePathName
|
, validStorePathName
|
||||||
, -- * Rendering out 'StorePath's
|
, -- * Rendering out 'StorePath's
|
||||||
storePathToFilePath
|
storePathToFilePath
|
||||||
|
@ -11,8 +11,7 @@ import qualified Data.Text as T
|
|||||||
|
|
||||||
import Test.Tasty.QuickCheck
|
import Test.Tasty.QuickCheck
|
||||||
|
|
||||||
import System.Nix.Hash
|
import System.Nix.Internal.Hash
|
||||||
import System.Nix.StorePath
|
|
||||||
import System.Nix.Internal.StorePath
|
import System.Nix.Internal.StorePath
|
||||||
import Control.Applicative ( liftA3 )
|
import Control.Applicative ( liftA3 )
|
||||||
import Data.Coerce ( coerce )
|
import Data.Coerce ( coerce )
|
||||||
|
Loading…
Reference in New Issue
Block a user