Skip to content

Commit 3c23fed

Browse files
committed
ReadonlyStoreEffects -> StoreEffects.
We can break out into readonly or binary cache or whatever later if need be.
1 parent 561fda5 commit 3c23fed

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

hnix-store-core/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ hnix-store-core
33

44
Core effects for interacting with the Nix store.
55

6-
See `ReadonlyStoreEffects` in [System.Nix.Store] for read-only
7-
operations on the store.
6+
See `StoreEffects` in [System.Nix.Store] for the available operations
7+
on the store.
88

99
[System.Nix.Store]: ./src/System/Nix/Store.hs

hnix-store-core/src/System/Nix/Store.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Maintainer : Shea Levy <[email protected]>
77
module System.Nix.Store
88
( PathName, pathNameContents, pathName
99
, PathHashAlgo, Path(..)
10-
, ReadonlyStoreEffects(..)
10+
, StoreEffects(..)
1111
, SubstitutablePathInfo(..)
1212
) where
1313

@@ -73,7 +73,7 @@ data SubstitutablePathInfo = SubstitutablePathInfo
7373
narSize :: !Integer
7474
}
7575

76-
-- | Read-only interactions with a store.
76+
-- | Interactions with the Nix store.
7777
--
7878
-- @rootedPath@: A path plus a witness to the fact that the path is
7979
-- reachable from a root whose liftime is at least as long as the
@@ -86,8 +86,8 @@ data SubstitutablePathInfo = SubstitutablePathInfo
8686
-- reference is held.
8787
--
8888
-- @m@: The monad the effects operate in.
89-
data ReadonlyStoreEffects rootedPath validPath m =
90-
ReadonlyStoreEffects
89+
data StoreEffects rootedPath validPath m =
90+
StoreEffects
9191
{ -- | Project out the underlying 'Path' from a 'rootedPath'
9292
fromRootedPath :: !(rootedPath -> Path)
9393
, -- | Project out the underlying 'rootedPath' from a 'validPath'

0 commit comments

Comments
 (0)