Skip to content

Commit

Permalink
Merge pull request #215 from mnadareski/master
Browse files Browse the repository at this point in the history
Removed restriction on 7zip file entries
  • Loading branch information
adamhathcock authored Mar 17, 2017
2 parents f853840 + 99d6062 commit 356c977
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs
Original file line number Diff line number Diff line change
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()
}
}
}
}
}

0 comments on commit 356c977

Please sign in to comment.