Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
ttossavainen committed Feb 22, 2023
1 parent 32ec24e commit 0ea181d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Runtime.Loader;
using System.Collections.Generic;
using Amazon.Runtime;
using System.Diagnostics.CodeAnalysis;

namespace Frends.AmazonS3.DeleteObject;

Expand Down Expand Up @@ -120,6 +121,8 @@ private static async Task<bool> FileExistsInS3(AmazonS3Client client, string buc
return (response != null && response.S3Objects != null && response.S3Objects.Count > 0);
}

// Excluded because there's no way to unit test each of these regions in all cases.
[ExcludeFromCodeCoverage]
private static RegionEndpoint RegionSelection(Region region)
{
return region switch
Expand Down

0 comments on commit 0ea181d

Please sign in to comment.