FileFilter

object FileFilter
Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

final implicit class FileFilterOps(val fileFilter: FileFilter) extends AnyVal

Adds an extension method to convert a sbt.io.FileFilter to a sbt.nio.file.PathFilter.

Adds an extension method to convert a sbt.io.FileFilter to a sbt.nio.file.PathFilter.

Value parameters:
fileFilter

the fileFilter to convert

Value members

Concrete fields

A sbt.io.FileFilter which is guaranteed to match everything.

A sbt.io.FileFilter which is guaranteed to match everything.

A sbt.io.FileFilter which is guaranteed to matching nothing. Useful to use as a zero value in fold like operations, i.e.

A sbt.io.FileFilter which is guaranteed to matching nothing. Useful to use as a zero value in fold like operations, i.e.

 paths.map(FileFilter.globFilter).fold(FileFilter.nothing)(_ || _)

Implicits

Implicits

final implicit def FileFilterOps(fileFilter: FileFilter): FileFilterOps

Adds an extension method to convert a sbt.io.FileFilter to a sbt.nio.file.PathFilter.

Adds an extension method to convert a sbt.io.FileFilter to a sbt.nio.file.PathFilter.

Value parameters:
fileFilter

the fileFilter to convert

implicit def globFilter(s: String): NameFilter

Allows a String to be used where a NameFilter is expected and any asterisks (*) will be interpreted as wildcards. See sbt.io.GlobFilter.

Allows a String to be used where a NameFilter is expected and any asterisks (*) will be interpreted as wildcards. See sbt.io.GlobFilter.