FileFilterOps
Adds an extension method to convert a sbt.io.FileFilter to a sbt.nio.file.PathFilter.
- Value parameters:
- fileFilter
the fileFilter to convert
class AnyVal
trait Matchable
class Any
Value members
Concrete methods
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:
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.