Skip to content

Commit

Permalink
Update README.md to read next entry if directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wcmonty committed Aug 24, 2017
1 parent 4596a73 commit e5cc98b
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 e5cc98b

Please sign in to comment.