equal
deleted
inserted
replaced
168 if (include_dirs) check(path.toFile) |
168 if (include_dirs) check(path.toFile) |
169 FileVisitResult.CONTINUE |
169 FileVisitResult.CONTINUE |
170 } |
170 } |
171 override def visitFile(path: JPath, attrs: BasicFileAttributes): FileVisitResult = |
171 override def visitFile(path: JPath, attrs: BasicFileAttributes): FileVisitResult = |
172 { |
172 { |
173 check(path.toFile) |
173 val file = path.toFile |
|
174 if (include_dirs || !file.isDirectory) check(file) |
174 FileVisitResult.CONTINUE |
175 FileVisitResult.CONTINUE |
175 } |
176 } |
176 } |
177 } |
177 ) |
178 ) |
178 } |
179 } |