Skip to content

Commit 1dba8b8

Browse files
authored
Merge pull request #34 from rameel/cleanup
Fix grammar and phrasing
2 parents c434641 + c5a6ab8 commit 1dba8b8

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install .NET
1919
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: 8.0.x
21+
dotnet-version: 9.0.x
2222

2323
- name: Checkout
2424
uses: actions/checkout@v4

src/Ramstack.FileProviders.Extensions/DirectoryNodeExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public static IEnumerable<DirectoryNode> EnumerateDirectories(this DirectoryNode
277277
/// that match the given glob pattern.
278278
/// </summary>
279279
/// <param name="directory">The <see cref="DirectoryNode"/> instance representing the directory to search.</param>
280-
/// <param name="pattern">The glob pattern to match against the names of file nodes in path.</param>
280+
/// <param name="pattern">The glob pattern to match against the names of file nodes in the path.</param>
281281
/// <param name="exclude">Optional glob pattern to exclude file nodes.</param>
282282
/// <returns>
283283
/// An enumerable collection of file nodes in the specified directory that match the given glob pattern.

src/Ramstack.FileProviders.Extensions/FileNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public sealed class FileNode : FileNodeBase
2323
public string DirectoryName => FilePath.GetDirectoryName(FullName);
2424

2525
/// <summary>
26-
/// Gets the last write time of the current file.
26+
/// Gets the last modified time of the current file.
2727
/// </summary>
2828
public DateTimeOffset LastWriteTime => _file.LastModified;
2929

src/Ramstack.FileProviders.Extensions/FilePath.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public static ReadOnlySpan<char> GetFileName(ReadOnlySpan<char> path)
121121
/// </summary>
122122
/// <param name="path">The path to retrieve the directory portion from.</param>
123123
/// <returns>
124-
/// Directory portion for <paramref name="path"/>, or an empty string if path denotes a root directory.
124+
/// Directory portion for <paramref name="path"/>, or an empty string if the path denotes a root directory.
125125
/// </returns>
126126
public static string GetDirectoryName(string path)
127127
{
@@ -143,7 +143,7 @@ public static string GetDirectoryName(string path)
143143
/// </summary>
144144
/// <param name="path">The path to retrieve the directory portion from.</param>
145145
/// <returns>
146-
/// Directory portion for <paramref name="path"/>, or an empty string if path denotes a root directory.
146+
/// Directory portion for <paramref name="path"/>, or an empty string if the path denotes a root directory.
147147
/// </returns>
148148
public static ReadOnlySpan<char> GetDirectoryName(ReadOnlySpan<char> path)
149149
{

src/Ramstack.FileProviders.Extensions/FileProviderExtensions.Enumeration.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static IEnumerable<FileNodeBase> EnumerateFileNodes(this IFileProvider pr
3636
provider.GetDirectory(path).EnumerateFileNodes();
3737

3838
/// <summary>
39-
/// Returns an enumerable collection of files in the directory at the specified path that match the given glob pattern.
39+
/// Returns an enumerable collection of files in the specified directory that match the given glob pattern.
4040
/// </summary>
4141
/// <param name="provider">The file provider to use.</param>
4242
/// <param name="path">The path to the directory to search.</param>
@@ -97,7 +97,7 @@ public static IEnumerable<FileNode> EnumerateFiles(this IFileProvider provider,
9797
provider.GetDirectory(path).EnumerateFiles(pattern, exclude);
9898

9999
/// <summary>
100-
/// Returns an enumerable collection of files in the directory at the specified path that match any of the given glob patterns.
100+
/// Returns an enumerable collection of files in the specified directory that match any of the given glob patterns.
101101
/// </summary>
102102
/// <param name="provider">The file provider to use.</param>
103103
/// <param name="path">The path to the directory to search.</param>
@@ -158,7 +158,7 @@ public static IEnumerable<FileNode> EnumerateFiles(this IFileProvider provider,
158158
provider.GetDirectory(path).EnumerateFiles(patterns, excludes);
159159

160160
/// <summary>
161-
/// Returns an enumerable collection of directories in the directory at the specified path that match the given glob pattern.
161+
/// Returns an enumerable collection of directories in the specified directory that match the given glob pattern.
162162
/// </summary>
163163
/// <param name="provider">The file provider to use.</param>
164164
/// <param name="path">The path to the directory to search.</param>
@@ -219,7 +219,7 @@ public static IEnumerable<DirectoryNode> EnumerateDirectories(this IFileProvider
219219
provider.GetDirectory(path).EnumerateDirectories(pattern, exclude);
220220

221221
/// <summary>
222-
/// Returns an enumerable collection of directories in the directory at the specified path that match any of the given glob patterns.
222+
/// Returns an enumerable collection of directories in the specified directory that match any of the given glob patterns.
223223
/// </summary>
224224
/// <param name="provider">The file provider to use.</param>
225225
/// <param name="path">The path to the directory to search.</param>
@@ -280,7 +280,7 @@ public static IEnumerable<DirectoryNode> EnumerateDirectories(this IFileProvider
280280
provider.GetDirectory(path).EnumerateDirectories(patterns, excludes);
281281

282282
/// <summary>
283-
/// Returns an enumerable collection of file nodes in the directory at the specified path that match the given glob pattern.
283+
/// Returns an enumerable collection of file nodes in the specified directory that match the given glob pattern.
284284
/// </summary>
285285
/// <param name="provider">The file provider to use.</param>
286286
/// <param name="path">The path to the directory to search.</param>
@@ -341,7 +341,7 @@ public static IEnumerable<FileNodeBase> EnumerateFileNodes(this IFileProvider pr
341341
provider.GetDirectory(path).EnumerateFileNodes(pattern, exclude);
342342

343343
/// <summary>
344-
/// Returns an enumerable collection of file nodes in the directory at the specified path that match any of the given glob patterns.
344+
/// Returns an enumerable collection of file nodes in the specified directory that match any of the provided glob patterns.
345345
/// </summary>
346346
/// <param name="provider">The file provider to use.</param>
347347
/// <param name="path">The path of the directory from which to retrieve file nodes.</param>

0 commit comments

Comments
 (0)