integrity property

  1. @TagNumber.new(2)
String get integrity

Content integrity hash for verification.

Format: "

When present, the resolver serializes the resolved Module to canonical protobuf binary format and compares its SHA-256 hash. A mismatch causes resolution failure, protecting against supply-chain attacks and accidental corruption.

When absent, no integrity check is performed.

Implementation

@$pb.TagNumber(2)
$core.String get integrity => $_getSZ(1);
  1. @TagNumber.new(2)
set integrity (String value)

Implementation

@$pb.TagNumber(2)
set integrity($core.String value) => $_setString(1, value);