15 references to GeneralUtils
Microsoft.DotNet.Build.Tasks.Feed (9)
src\AzureDevOpsNugetFeedAssetPublisher.cs (2)
50Timeout = GeneralUtils.NugetFeedPublisherHttpClientTimeout, 69if (!file.EndsWith(GeneralUtils.PackageSuffix, StringComparison.OrdinalIgnoreCase))
src\BuildModelFactory.cs (1)
161var isSymbolsPackage = GeneralUtils.IsSymbolPackage(artifact.ItemSpec);
src\common\AzureStorageUtils.cs (2)
218GeneralUtils.CreateDefaultRetryHandler()); 286var streamsMatch = await GeneralUtils.CompareStreamsAsync(localFileStream, remoteStream, BufferSize);
src\PublishArtifactsInManifestBase.cs (4)
35using static Microsoft.DotNet.Build.Tasks.Feed.GeneralUtils; 1087categories = GeneralUtils.PackagesCategory; 1115categories = GeneralUtils.InferCategory(blobAsset.Id, Log); 1378RunProcessAndGetOutputsCallBack ??= GeneralUtils.RunProcessAndGetOutputsAsync;
Microsoft.DotNet.Build.Tasks.Feed.Tests (6)
GeneralTests.cs (4)
15using static Microsoft.DotNet.Build.Tasks.Feed.GeneralUtils; 50GeneralUtils.IsSymbolPackage(package).Should().Be(isSymbolPackage); 67var result = await GeneralUtils.IsFeedPublicAsync( 94await GeneralUtils.IsFeedPublicAsync(
PublishArtifactsInManifestTests.cs (2)
20using static Microsoft.DotNet.Build.Tasks.Feed.GeneralUtils; 183bool streamsAreSame = await GeneralUtils.CompareStreamsAsync(fakeStreamA, fakeStreamB, bufferSize);