Skip to content

Commit 972e2c7

Browse files
committed
StoreEffects: Add pathFromHashPart.
1 parent 49c1017 commit 972e2c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,6 @@ data StoreEffects rootedPath validPath m =
107107
derivationOutputs :: !(validPath -> m (HashSet Path))
108108
, -- | Get the output names of the derivation at a 'Path'.
109109
derivationOutputNames :: !(validPath -> m (HashSet Text))
110+
, -- | Get a full 'Path' corresponding to a given 'Digest'.
111+
pathFromHashPart :: !(Digest PathHashAlgo -> m Path)
110112
}

0 commit comments

Comments
 (0)