|
4 | 4 | // Created : 03-01-2021 |
5 | 5 | // |
6 | 6 | // Last Modified By : David McCarter |
7 | | -// Last Modified On : 04-12-2025 |
| 7 | +// Last Modified On : 04-30-2025 |
8 | 8 | // *********************************************************************** |
9 | 9 | // <copyright file="DirectoryHelper.cs" company="David McCarter - dotNetTips.com"> |
10 | 10 | // McCarter Consulting (David McCarter) |
@@ -172,7 +172,7 @@ public static void CopyDirectory([NotNull] DirectoryInfo source, [NotNull] Direc |
172 | 172 | /// <exception cref="IOException">Thrown when the directory could not be deleted after the specified number of retries.</exception> |
173 | 173 | /// <exception cref="UnauthorizedAccessException">Thrown when the directory could not be deleted due to unauthorized access after the specified number of retries.</exception> |
174 | 174 | [SupportedOSPlatform("windows")] |
175 | | - [Information(nameof(DeleteDirectory), "David McCarter", "2/14/2018", OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.Completed, Status = Status.Updated)] |
| 175 | + [Information(nameof(DeleteDirectory), "David McCarter", "2/14/2018", OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.Completed, Status = Status.Available)] |
176 | 176 | public static void DeleteDirectory([NotNull] DirectoryInfo path, [ConstantExpected(Min = 1, Max = byte.MaxValue)] byte retries = 5, bool recursive = true) |
177 | 177 | { |
178 | 178 | //TODO: FOR VERSION 10, RETURN SIMPLERESULT. |
@@ -207,7 +207,7 @@ public static void DeleteDirectory([NotNull] DirectoryInfo path, [ConstantExpect |
207 | 207 | /// <exception cref="ArgumentNullException">Thrown when <paramref name="directories"/> or <paramref name="searchPattern"/> is null.</exception> |
208 | 208 | [MethodImpl(MethodImplOptions.AggressiveInlining)] |
209 | 209 | [SupportedOSPlatform("windows")] |
210 | | - [Information(nameof(LoadFilesAsync), author: "David McCarter", createdOn: "3/1/2021", OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.Completed, Status = Status.Updated)] |
| 210 | + [Information(nameof(LoadFilesAsync), author: "David McCarter", createdOn: "3/1/2021", OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.Completed, Status = Status.Available)] |
211 | 211 | public static async IAsyncEnumerable<IEnumerable<FileInfo>> LoadFilesAsync([NotNull] IEnumerable<DirectoryInfo> directories, [NotNull] string searchPattern, SearchOption searchOption, [EnumeratorCancellation] CancellationToken cancellationToken = default) |
212 | 212 | { |
213 | 213 | directories = directories.ArgumentNotNull(); |
|
0 commit comments