6 writes to ManifestPath
Microsoft.NET.Sdk.StaticWebAssets.Tests (6)
StaticWebAssets\GenerateStaticWebAssetEndpointsManifestTest.cs (6)
193
ManifestPath
= path,
242
ManifestPath
= path,
300
ManifestPath
= path,
322
ManifestPath
= path,
374
ManifestPath
= endpointsManifestPath,
398
ManifestPath
= endpointsManifestPath,
11 references to ManifestPath
Microsoft.NET.Sdk.StaticWebAssets.Tasks (11)
GenerateStaticWebAssetEndpointsManifest.cs (11)
40
if (!string.IsNullOrEmpty(CacheFilePath) && File.Exists(
ManifestPath
) && File.GetLastWriteTimeUtc(
ManifestPath
) > File.GetLastWriteTimeUtc(CacheFilePath))
45
Log.LogMessage(MessageImportance.Low, "Skipping manifest generation because manifest file '{0}' is up to date.",
ManifestPath
);
50
Log.LogMessage(MessageImportance.Low, "Generating manifest file '{0}' because exclusion patterns changed from '{1}' to '{2}'.",
ManifestPath
,
57
Log.LogMessage(MessageImportance.Low, "Generating manifest file '{0}' because manifest file is missing or out of date.",
ManifestPath
);
98
if (!updatedManifest && File.Exists(
ManifestPath
))
105
Log.LogMessage(MessageImportance.Low, "Updating manifest timestamp '{0}'.",
ManifestPath
);
106
File.SetLastWriteTime(
ManifestPath
, DateTime.UtcNow);
129
this.PersistFileIfChanged(manifest,
ManifestPath
, StaticWebAssetsJsonSerializerContext.RelaxedEscaping.StaticWebAssetEndpointsManifest);
171
if (File.Exists(
ManifestPath
))
173
File.SetLastWriteTime(
ManifestPath
, DateTime.UtcNow);