mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-11-30 22:42:02 +03:00
core: drop Metadata.path field
Isn't used anywhere and it is better to have `Map StorePath (Metadata StorePath)` See also https://github.com/haskell-nix/hnix-store/issues/147#issuecomment-1816414062
This commit is contained in:
parent
a187937be4
commit
82fc29771c
@ -33,9 +33,7 @@ data StorePathTrust
|
||||
-- | Metadata (typically about a 'StorePath')
|
||||
-- This type corresponds to Nix-es `ValidPathInfo`
|
||||
data Metadata a = Metadata
|
||||
{ -- | The path this metadata is about
|
||||
path :: !a
|
||||
, -- | The path to the derivation file that built this path, if any
|
||||
{ -- | The path to the derivation file that built this path, if any
|
||||
-- and known.
|
||||
deriverPath :: !(Maybe a)
|
||||
, -- TODO should this be optional?
|
||||
|
Loading…
Reference in New Issue
Block a user