We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RegularFileFilter
1 parent a65e15c commit 12ebb57Copy full SHA for 12ebb57
io/src/main/scala/sbt/io/NameFilter.scala
@@ -223,7 +223,7 @@ case object DirectoryFilter extends FileFilter with PathFilter {
223
override def accept(path: NioPath, attributes: FileAttributes): Boolean = attributes.isDirectory
224
}
225
226
-/** A [[FileFilter]] that selects files that are a directory according to `java.io.File.isFile`. */
+/** A [[FileFilter]] that selects files that are a normal file according to `java.io.File.isFile`. */
227
case object RegularFileFilter extends FileFilter with PathFilter {
228
def accept(file: File): Boolean = file.isFile
229
override def accept(path: NioPath, attributes: FileAttributes): Boolean = attributes.isRegularFile
0 commit comments