You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #146, allows us to extend various path types, motivation in #148.
Draft:
-- | Metadata about a 'StorePath'
-data StorePathMetadata = StorePathMetadata+data Metadata a = Metadata
{ -- | The path this metadata is about
- path :: !StorePath+ path :: !a
, -- | The path to the derivation file that built this path, if any
-- and known.
- deriverPath :: !(Maybe StorePath)+ deriverPath :: !(Maybe a)
, -- TODO should this be optional?
-- | The hash of the nar serialization of the path.
narHash :: !SomeNamedDigest
, -- | The paths that this path directly references
- references :: !StorePathSet+ references :: !(HashSet a)
, -- | When was this path registered valid in the store?
registrationTime :: !UTCTime
, -- | The size of the nar serialization of the path, in bytes.
@@ -43,6 +43,8 @@ data StorePathMetadata = StorePathMetadata
contentAddressableAddress :: !(Maybe ContentAddressableAddress)
}
+type StorePathMetadata = Metadata StorePath
The text was updated successfully, but these errors were encountered:
Related to #146, allows us to extend various path types, motivation in #148.
Draft:
The text was updated successfully, but these errors were encountered: