Metadata (typically about a StorePath)
This type corresponds to Nix-es ValidPathInfo
Constructors
MetadatametadataDeriverPath :: !Maybe aThe path to the derivation file that built this path, if any and known.
metadataNarHash :: !DSum HashAlgo DigestThe hash of the nar serialization of the path.
metadataReferences :: !HashSet aThe paths that this path directly references
metadataRegistrationTime :: !UTCTimeWhen was this path registered valid in the store?
metadataNarBytes :: !Maybe Word64The size of the nar serialization of the path, in bytes.
metadataTrust :: !StorePathTrustHow much we trust this path. Nix-es ultimate
metadataSigs :: !Set NarSignatureA set of cryptographic attestations of this path's validity.
There is no guarantee from this type alone that these signatures are valid.
metadataContentAddress :: !Maybe ContentAddressWhether and how this store path is content-addressable.
There is no guarantee from this type alone that this address is actually correct for this store path.
Instances5Eq, Ord, Show, Generic, Rep
Eq a => Eq (Metadata a)Defined in hnix-store-core-0.8.0.0 · System.Nix.StorePath.MetadataOrd a => Ord (Metadata a)Defined in hnix-store-core-0.8.0.0 · System.Nix.StorePath.MetadataShow a => Show (Metadata a)Defined in hnix-store-core-0.8.0.0 · System.Nix.StorePath.MetadataGeneric (Metadata a)Defined in hnix-store-core-0.8.0.0 · System.Nix.StorePath.Metadatatype Rep (Metadata a) = D1 ('MetaDataDefined in hnix-store-core-0.8.0.0 · System.Nix.StorePath.Metadata"Metadata"
"System.Nix.StorePath.Metadata"
"hnix-store-core-0.8.0.0-EeZ8XU1nr2c8VVkcM598FB"
'False) (C1 ('MetaCons"Metadata"
'PrefixI 'True) (((S1 ('MetaSel ('Just"metadataDeriverPath"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe a)) :*: S1 ('MetaSel ('Just"metadataNarHash"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DSum HashAlgo Digest))) :*: (S1 ('MetaSel ('Just"metadataReferences"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HashSet a)) :*: S1 ('MetaSel ('Just"metadataRegistrationTime"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime))) :*: ((S1 ('MetaSel ('Just"metadataNarBytes"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Word64)) :*: S1 ('MetaSel ('Just"metadataTrust"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 StorePathTrust)) :*: (S1 ('MetaSel ('Just"metadataSigs"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set NarSignature)) :*: S1 ('MetaSel ('Just"metadataContentAddress"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe ContentAddress))))))