Skip to content

Commit 12a75f5

Browse files
committed
validPath -> validPaths.
We don't need both.
1 parent 3c23fed commit 12a75f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ data StoreEffects rootedPath validPath m =
9292
fromRootedPath :: !(rootedPath -> Path)
9393
, -- | Project out the underlying 'rootedPath' from a 'validPath'
9494
fromValidPath :: !(validPath -> rootedPath)
95-
, -- | Is the given path valid?
96-
validPath :: !(rootedPath -> m (Maybe validPath))
95+
, -- | Which of the given paths are valid?
96+
validPaths :: !(HashSet rootedPath -> HashSet validPath)
9797
, -- | Get the paths that refer to a given path.
9898
referrers :: !(validPath -> m (HashSet Path))
9999
, -- | Get a root to the 'Path'.

0 commit comments

Comments
 (0)