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
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ public static ValueTask<byte[]> ReadAllBytesAsync(this IFileProvider provider, s
/// <summary>
/// Returns a directory with the specified path.
/// </summary>
/// <param name="provider">The file provider to retrieve the directory from.</param>
/// <param name="path">The local path that identifies the directory.</param>
/// <param name="provider">The <see cref="IFileProvider"/>.</param>
/// <param name="path">The path that identifies the directory.</param>
/// <returns>
/// The <see cref="DirectoryNode"/> representing the desired directory.
/// </returns>
Expand All @@ -151,8 +151,8 @@ public static DirectoryNode GetDirectory(this IFileProvider provider, string pat
/// <summary>
/// Returns a file with the specified path.
/// </summary>
/// <param name="provider">The file provider to retrieve the file from.</param>
/// <param name="path">The local path that identifies the file.</param>
/// <param name="provider">The <see cref="IFileProvider"/>.</param>
/// <param name="path">The path that identifies the file.</param>
/// <returns>
/// The <see cref="FileNode"/> representing the desired file.
/// </returns>
Expand Down
4 changes: 2 additions & 2 deletions src/Ramstack.FileProviders/ZipFileProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ private static void Initialize(ZipArchive archive, Dictionary<string, IFileInfo>
{
foreach (var entry in archive.Entries)
{
// Skip directories
// Directory entries are represented by a trailing slash in their names
// Skip directories.
// Directory entries are represented by a trailing slash in their names.
//
// Since we cannot rely on all archivers to represent directory entries within the archive,
// it's simpler to assume their absence and disregard entries ending with a forward slash '/'
Expand Down