Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public static IEnumerable<DirectoryNode> EnumerateDirectories(this DirectoryNode
/// that match the given glob pattern.
/// </summary>
/// <param name="directory">The <see cref="DirectoryNode"/> instance representing the directory to search.</param>
/// <param name="pattern">The glob pattern to match against the names of file nodes in path.</param>
/// <param name="pattern">The glob pattern to match against the names of file nodes in the path.</param>
/// <param name="exclude">Optional glob pattern to exclude file nodes.</param>
/// <returns>
/// An enumerable collection of file nodes in the specified directory that match the given glob pattern.
Expand Down
2 changes: 1 addition & 1 deletion src/Ramstack.FileProviders.Extensions/FileNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public sealed class FileNode : FileNodeBase
public string DirectoryName => FilePath.GetDirectoryName(FullName);

/// <summary>
/// Gets the last write time of the current file.
/// Gets the last modified time of the current file.
/// </summary>
public DateTimeOffset LastWriteTime => _file.LastModified;

Expand Down
4 changes: 2 additions & 2 deletions src/Ramstack.FileProviders.Extensions/FilePath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public static ReadOnlySpan<char> GetFileName(ReadOnlySpan<char> path)
/// </summary>
/// <param name="path">The path to retrieve the directory portion from.</param>
/// <returns>
/// Directory portion for <paramref name="path"/>, or an empty string if path denotes a root directory.
/// Directory portion for <paramref name="path"/>, or an empty string if the path denotes a root directory.
/// </returns>
public static string GetDirectoryName(string path)
{
Expand All @@ -143,7 +143,7 @@ public static string GetDirectoryName(string path)
/// </summary>
/// <param name="path">The path to retrieve the directory portion from.</param>
/// <returns>
/// Directory portion for <paramref name="path"/>, or an empty string if path denotes a root directory.
/// Directory portion for <paramref name="path"/>, or an empty string if the path denotes a root directory.
/// </returns>
public static ReadOnlySpan<char> GetDirectoryName(ReadOnlySpan<char> path)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static IEnumerable<FileNodeBase> EnumerateFileNodes(this IFileProvider pr
provider.GetDirectory(path).EnumerateFileNodes();

/// <summary>
/// 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.
/// </summary>
/// <param name="provider">The file provider to use.</param>
/// <param name="path">The path to the directory to search.</param>
Expand Down Expand Up @@ -97,7 +97,7 @@ public static IEnumerable<FileNode> EnumerateFiles(this IFileProvider provider,
provider.GetDirectory(path).EnumerateFiles(pattern, exclude);

/// <summary>
/// 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.
/// </summary>
/// <param name="provider">The file provider to use.</param>
/// <param name="path">The path to the directory to search.</param>
Expand Down Expand Up @@ -158,7 +158,7 @@ public static IEnumerable<FileNode> EnumerateFiles(this IFileProvider provider,
provider.GetDirectory(path).EnumerateFiles(patterns, excludes);

/// <summary>
/// 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.
/// </summary>
/// <param name="provider">The file provider to use.</param>
/// <param name="path">The path to the directory to search.</param>
Expand Down Expand Up @@ -219,7 +219,7 @@ public static IEnumerable<DirectoryNode> EnumerateDirectories(this IFileProvider
provider.GetDirectory(path).EnumerateDirectories(pattern, exclude);

/// <summary>
/// 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.
/// </summary>
/// <param name="provider">The file provider to use.</param>
/// <param name="path">The path to the directory to search.</param>
Expand Down Expand Up @@ -280,7 +280,7 @@ public static IEnumerable<DirectoryNode> EnumerateDirectories(this IFileProvider
provider.GetDirectory(path).EnumerateDirectories(patterns, excludes);

/// <summary>
/// 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.
/// </summary>
/// <param name="provider">The file provider to use.</param>
/// <param name="path">The path to the directory to search.</param>
Expand Down Expand Up @@ -341,7 +341,7 @@ public static IEnumerable<FileNodeBase> EnumerateFileNodes(this IFileProvider pr
provider.GetDirectory(path).EnumerateFileNodes(pattern, exclude);

/// <summary>
/// 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.
/// </summary>
/// <param name="provider">The file provider to use.</param>
/// <param name="path">The path of the directory from which to retrieve file nodes.</param>
Expand Down