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