The PathMatchers trait provides matchers which are applicable to strings representing paths
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait FileMatchersobject FileMatchers.typetrait FilesContentMatcherstrait ContentMatchersobject ContentMatchers.typeobject PathMatchers.typeShow all
- Self type
Members list
Value members
Concrete methods
matches if new File(path).isDirectory
matches if new File(path).isDirectory
Attributes
matches if new File(path).isFile
matches if new File(path).isFile
Attributes
matches if new File(path).isHidden
matches if new File(path).isHidden
Attributes
matches if new File(path).canRead
matches if new File(path).canRead
Attributes
matches if new File(path).canWrite
matches if new File(path).canWrite
Attributes
matches if new File(path).isAbsolute
matches if new File(path).isAbsolute
Attributes
matches if new File(path).exists
matches if new File(path).exists
Attributes
matches if 2 paths are the same regardless of their separators
matches if 2 paths are the same regardless of their separators
Attributes
matches if new File(path).getAbsolutePath == absolutePath
matches if new File(path).getAbsolutePath == absolutePath
Attributes
matches if new File(path).getCanonicalPath == canonicalPath
matches if new File(path).getCanonicalPath == canonicalPath
Attributes
matches if new File(path).getParent == parent
matches if new File(path).getParent == parent
Attributes
matches if new File(path).getName == name
matches if new File(path).getName == name
Attributes
matches if new File(path).list == list(files)
matches if new File(path).list == list(files)