Skip to content

Commit 82fc297

Browse files
committed
core: drop Metadata.path field
Isn't used anywhere and it is better to have `Map StorePath (Metadata StorePath)` See also #147 (comment)
1 parent a187937 commit 82fc297

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

hnix-store-core/src/System/Nix/StorePath/Metadata.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ data StorePathTrust
3333
-- | Metadata (typically about a 'StorePath')
3434
-- This type corresponds to Nix-es `ValidPathInfo`
3535
data Metadata a = Metadata
36-
{ -- | The path this metadata is about
37-
path :: !a
38-
, -- | The path to the derivation file that built this path, if any
36+
{ -- | The path to the derivation file that built this path, if any
3937
-- and known.
4038
deriverPath :: !(Maybe a)
4139
, -- TODO should this be optional?

0 commit comments

Comments
 (0)