PathFilter

A filter for a path and its attributes.

Companion:
object
class Object
trait Matchable
class Any
object DirectoryFilter.type
object HiddenFileFilter.type
object RegularFileFilter.type

Value members

Abstract methods

def accept(path: Path, attributes: FileAttributes): Boolean

Checks whether a path should be included on the basis of its name and sbt.nio.file.FileAttributes.

Checks whether a path should be included on the basis of its name and sbt.nio.file.FileAttributes.

Value parameters:
attributes

the file attributes corresponding to path

path

the path name

Returns:

true if the filter accepts the path

Concrete methods

def &&(other: PathFilter): PathFilter
Implicitly added by Ops
Implicitly added by Ops
def ||(other: PathFilter): PathFilter
Implicitly added by Ops

Concrete fields

Implicitly added by Ops