We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99eaff1 commit 2ae0b73Copy full SHA for 2ae0b73
os/src/ZipOps.scala
@@ -243,9 +243,8 @@ object unzip {
243
} yield os.SubPath(zipEntry.getName)
244
}
245
246
- private lazy val S_IFMT: Int = java.lang.Integer.parseInt("0170000", 8)
247
private def isSymLink(mode: Int): Boolean =
248
- (mode & S_IFMT) == apache.UnixStat.LINK_FLAG
+ (mode & apache.PermissionUtils.FILE_TYPE_FLAG) == apache.UnixStat.LINK_FLAG
249
250
/**
251
* Extract the given zip file into the destination directory
0 commit comments