Skip to content

Commit

Permalink
Merge pull request #61 from wcmonty/master
Browse files Browse the repository at this point in the history
Update README.md to read next entry if directory
  • Loading branch information
thejoshwolfe committed Aug 24, 2017
2 parents 4596a73 + e5cc98b commit 30f4d76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -34,6 +34,7 @@ yauzl.open("path/to/file.zip", {lazyEntries: true}, function(err, zipfile) {
// Directory file names end with '/'.
// Note that entires for directories themselves are optional.
// An entry's fileName implicitly requires its parent directories to exist.
zipfile.readEntry();
} else {
// file entry
zipfile.openReadStream(entry, function(err, readStream) {
Expand Down

0 comments on commit 30f4d76

Please sign in to comment.