From 3f5983b69c62c936dafc5e8dddb75825ad518704 Mon Sep 17 00:00:00 2001 From: rameel Date: Fri, 1 Aug 2025 01:53:18 +0500 Subject: [PATCH 1/2] Fix grammar and phrasing --- .../DirectoryNodeExtensions.cs | 2 +- src/Ramstack.FileProviders.Extensions/FileNode.cs | 2 +- src/Ramstack.FileProviders.Extensions/FilePath.cs | 4 ++-- .../FileProviderExtensions.Enumeration.cs | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Ramstack.FileProviders.Extensions/DirectoryNodeExtensions.cs b/src/Ramstack.FileProviders.Extensions/DirectoryNodeExtensions.cs index 00ddac4..75bbd43 100644 --- a/src/Ramstack.FileProviders.Extensions/DirectoryNodeExtensions.cs +++ b/src/Ramstack.FileProviders.Extensions/DirectoryNodeExtensions.cs @@ -277,7 +277,7 @@ public static IEnumerable EnumerateDirectories(this DirectoryNode /// that match the given glob pattern. /// /// The instance representing the directory to search. - /// The glob pattern to match against the names of file nodes in path. + /// The glob pattern to match against the names of file nodes in the path. /// Optional glob pattern to exclude file nodes. /// /// An enumerable collection of file nodes in the specified directory that match the given glob pattern. diff --git a/src/Ramstack.FileProviders.Extensions/FileNode.cs b/src/Ramstack.FileProviders.Extensions/FileNode.cs index 272853b..adf3c4f 100644 --- a/src/Ramstack.FileProviders.Extensions/FileNode.cs +++ b/src/Ramstack.FileProviders.Extensions/FileNode.cs @@ -23,7 +23,7 @@ public sealed class FileNode : FileNodeBase public string DirectoryName => FilePath.GetDirectoryName(FullName); /// - /// Gets the last write time of the current file. + /// Gets the last modified time of the current file. /// public DateTimeOffset LastWriteTime => _file.LastModified; diff --git a/src/Ramstack.FileProviders.Extensions/FilePath.cs b/src/Ramstack.FileProviders.Extensions/FilePath.cs index a31ce24..ee299fc 100644 --- a/src/Ramstack.FileProviders.Extensions/FilePath.cs +++ b/src/Ramstack.FileProviders.Extensions/FilePath.cs @@ -121,7 +121,7 @@ public static ReadOnlySpan GetFileName(ReadOnlySpan path) /// /// The path to retrieve the directory portion from. /// - /// Directory portion for , or an empty string if path denotes a root directory. + /// Directory portion for , or an empty string if the path denotes a root directory. /// public static string GetDirectoryName(string path) { @@ -143,7 +143,7 @@ public static string GetDirectoryName(string path) /// /// The path to retrieve the directory portion from. /// - /// Directory portion for , or an empty string if path denotes a root directory. + /// Directory portion for , or an empty string if the path denotes a root directory. /// public static ReadOnlySpan GetDirectoryName(ReadOnlySpan path) { diff --git a/src/Ramstack.FileProviders.Extensions/FileProviderExtensions.Enumeration.cs b/src/Ramstack.FileProviders.Extensions/FileProviderExtensions.Enumeration.cs index fa30ebd..30ed0b9 100644 --- a/src/Ramstack.FileProviders.Extensions/FileProviderExtensions.Enumeration.cs +++ b/src/Ramstack.FileProviders.Extensions/FileProviderExtensions.Enumeration.cs @@ -36,7 +36,7 @@ public static IEnumerable EnumerateFileNodes(this IFileProvider pr provider.GetDirectory(path).EnumerateFileNodes(); /// - /// Returns an enumerable collection of files in the directory at the specified path that match the given glob pattern. + /// Returns an enumerable collection of files in the specified directory that match the given glob pattern. /// /// The file provider to use. /// The path to the directory to search. @@ -97,7 +97,7 @@ public static IEnumerable EnumerateFiles(this IFileProvider provider, provider.GetDirectory(path).EnumerateFiles(pattern, exclude); /// - /// Returns an enumerable collection of files in the directory at the specified path that match any of the given glob patterns. + /// Returns an enumerable collection of files in the specified directory that match any of the given glob patterns. /// /// The file provider to use. /// The path to the directory to search. @@ -158,7 +158,7 @@ public static IEnumerable EnumerateFiles(this IFileProvider provider, provider.GetDirectory(path).EnumerateFiles(patterns, excludes); /// - /// Returns an enumerable collection of directories in the directory at the specified path that match the given glob pattern. + /// Returns an enumerable collection of directories in the specified directory that match the given glob pattern. /// /// The file provider to use. /// The path to the directory to search. @@ -219,7 +219,7 @@ public static IEnumerable EnumerateDirectories(this IFileProvider provider.GetDirectory(path).EnumerateDirectories(pattern, exclude); /// - /// Returns an enumerable collection of directories in the directory at the specified path that match any of the given glob patterns. + /// Returns an enumerable collection of directories in the specified directory that match any of the given glob patterns. /// /// The file provider to use. /// The path to the directory to search. @@ -280,7 +280,7 @@ public static IEnumerable EnumerateDirectories(this IFileProvider provider.GetDirectory(path).EnumerateDirectories(patterns, excludes); /// - /// Returns an enumerable collection of file nodes in the directory at the specified path that match the given glob pattern. + /// Returns an enumerable collection of file nodes in the specified directory that match the given glob pattern. /// /// The file provider to use. /// The path to the directory to search. @@ -341,7 +341,7 @@ public static IEnumerable EnumerateFileNodes(this IFileProvider pr provider.GetDirectory(path).EnumerateFileNodes(pattern, exclude); /// - /// Returns an enumerable collection of file nodes in the directory at the specified path that match any of the given glob patterns. + /// Returns an enumerable collection of file nodes in the specified directory that match any of the provided glob patterns. /// /// The file provider to use. /// The path of the directory from which to retrieve file nodes. From c5a6ab83e06cc30392032f7c0768434ce9a3bbd6 Mon Sep 17 00:00:00 2001 From: rameel Date: Fri, 1 Aug 2025 01:55:55 +0500 Subject: [PATCH 2/2] Update github actions to use .NET 9.0 --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 71ca6ce..6640c4f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: - name: Install .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Checkout uses: actions/checkout@v4