File tree Expand file tree Collapse file tree
FileSystem.Adapters.AzureFileStorage/src
Tests/src/FileSystem.Adapters.Dropbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 workflow_dispatch :
2121 push :
2222 branches :
23- - ' * '
23+ - " ** "
2424
2525jobs :
2626 build :
Original file line number Diff line number Diff line change 11name : FileSystem [Release]
22
33env :
4- DOTNET_VERSION : 7 .0.x
4+ DOTNET_VERSION : 8 .0.x
55 DOTNET_BUILD_CONFIGURATION : Release
66 DOTNET_PACKAGES_OUTPUT_DIRECTORY : .nuget
77 NUGET_SOURCE : https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <TargetFrameworks >netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks >
3+ <TargetFrameworks >netstandard2.0;netstandard2.1;netcoreapp3.1; net6.0;net7.0;net8.0</TargetFrameworks >
44 <Nullable >enable</Nullable >
55 <LangVersion >8.0</LangVersion >
66 <NoWarn >NU1701</NoWarn >
99 </PropertyGroup >
1010
1111 <PropertyGroup >
12- <PackageVersion >1.0 .0</PackageVersion >
12+ <PackageVersion >1.1 .0</PackageVersion >
1313 <Company >SharpGrip</Company >
1414 <Authors >SharpGrip</Authors >
1515 <Copyright >SharpGrip</Copyright >
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public override async Task<IEnumerable<IFile>> GetFilesAsync(string virtualPath
8282 try
8383 {
8484 var currentDirectory = client . GetDirectoryClient ( path ) ;
85- var currentDirectoryEnumerator = currentDirectory . GetFilesAndDirectoriesAsync ( ) . GetAsyncEnumerator ( cancellationToken ) ;
85+ await using var currentDirectoryEnumerator = currentDirectory . GetFilesAndDirectoriesAsync ( cancellationToken : cancellationToken ) . GetAsyncEnumerator ( cancellationToken ) ;
8686
8787 var files = new List < IFile > ( ) ;
8888
@@ -112,7 +112,7 @@ public override async Task<IEnumerable<IDirectory>> GetDirectoriesAsync(string v
112112 try
113113 {
114114 var currentDirectory = client . GetDirectoryClient ( path ) ;
115- var currentDirectoryEnumerator = currentDirectory . GetFilesAndDirectoriesAsync ( ) . GetAsyncEnumerator ( cancellationToken ) ;
115+ await using var currentDirectoryEnumerator = currentDirectory . GetFilesAndDirectoriesAsync ( cancellationToken : cancellationToken ) . GetAsyncEnumerator ( cancellationToken ) ;
116116
117117 var directories = new List < IDirectory > ( ) ;
118118
Original file line number Diff line number Diff line change 11namespace SharpGrip . FileSystem . Tests . FileSystem . Adapters . Dropbox
22{
3- public class DropboxAdapterTest
4- {
5- }
3+ public class DropboxAdapterTest ;
64}
You can’t perform that action at this time.
0 commit comments