2 writes to Hash
Microsoft.NET.Sdk.StaticWebAssets.Tasks (2)
_generated\19\StaticWebAssetsJsonSerializerContext.StaticWebAssetsManifest.g.cs (1)
79
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetsManifest)obj).
Hash
= value!,
Data\StaticAssetsManifest.cs (1)
37
result.
Hash
= result.ComputeManifestHash();
10 references to Hash
Microsoft.NET.Sdk.StaticWebAssets.Tasks (10)
_generated\19\StaticWebAssetsJsonSerializerContext.StaticWebAssetsManifest.g.cs (2)
78
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetsManifest)obj).
Hash
,
267
writer.WriteString(PropName_Hash, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetsManifest)value).
Hash
);
Data\StaticAssetsManifest.cs (3)
128
&&
Hash
== other.
Hash
143
hash.Add(
Hash
);
GenerateStaticWebAssetsManifest.cs (5)
131
fileExists ? StaticWebAssetsManifest.FromJsonBytes(File.ReadAllBytes(ManifestPath)).
Hash
: "";
133
if (!fileExists || !string.Equals(manifest.
Hash
, existingManifestHash, StringComparison.Ordinal))
142
Log.LogMessage(MessageImportance.Low, $"Updating manifest because manifest version '{manifest.
Hash
}' is different from existing manifest hash '{existingManifestHash}'.");
147
File.WriteAllText(ManifestCacheFilePath, manifest.
Hash
);
152
Log.LogMessage(MessageImportance.Low, $"Skipping manifest updated because manifest version '{manifest.
Hash
}' has not changed.");