mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-09-11 18:05:56 +03:00
ReadonlyStoreEffects: Add rootedPath operation.
This commit is contained in:
parent
f21f036d7e
commit
ead433277e
@ -81,4 +81,6 @@ data ReadonlyStoreEffects rootedPath validPath m =
|
||||
validPath :: !(rootedPath -> m (Maybe validPath))
|
||||
, -- | Get the paths that refer to a given path.
|
||||
referrers :: !(validPath -> m (HashSet Path))
|
||||
, -- | Get a root to the 'Path'.
|
||||
rootedPath :: !(Path -> m rootedPath)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user