EvanOxfeld/node-unzip — pull request #43 by kenvifire (2013-12-07 03:12:00+00:00)
Title: fix error in entry type judgment

There is no need to test compressedSize is 0 or not, just to check if the file name ends with '/'.
Following is the code snippet from Java SDK( java.util.ZipEntry)

/**
* Returns true if this is a directory entry. A directory entry is
* defined to be one whose name ends with a '/'.
* @return true if this is a directory entry
*/
public boolean isDirectory() {
return name.endsWith("/");
}