implicit final class FileFilterOps extends AnyVal
Adds an extension method to convert a sbt.io.FileFilter to a sbt.nio.file.PathFilter.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FileFilterOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
FileFilterOps(fileFilter: FileFilter)
- fileFilter
the fileFilter to convert
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val fileFilter: FileFilter
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toNio: PathFilter
Converts a sbt.io.FileFilter to a sbt.nio.file.PathFilter that should accept same the same paths.
Converts a sbt.io.FileFilter to a sbt.nio.file.PathFilter that should accept same the same paths. This can be used for any sbt.io.FileFilter but may also be used to disambiguate the
&&
and||
methods for DirectoryFilter, HiddenFileFilter and RegularFileFilter:val pathFilter: PathFilter = DirectoryFilter || "**<code>/<code>*.txt"
- returns
the transformed sbt.nio.file.PathFilter.
-
def
toString(): String
- Definition Classes
- Any