Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed restriction on 7zip file entries #215

Merged
merged 1 commit into from Mar 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs
Expand Up @@ -106,10 +106,7 @@ protected override IEnumerable<SevenZipArchiveEntry> LoadEntries(IEnumerable<Sev
for (int i = 0; i < database.Files.Count; i++)
{
var file = database.Files[i];
if (!file.IsDir)
{
yield return new SevenZipArchiveEntry(this, new SevenZipFilePart(stream, database, i, file));
}
yield return new SevenZipArchiveEntry(this, new SevenZipFilePart(stream, database, i, file));
}
}

Expand Down Expand Up @@ -209,4 +206,4 @@ protected override EntryStream GetEntryStream()
}
}
}
}
}