object Paths
- Alphabetic
- By Inheritance
- Paths
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class AttributedPath(path: AbsolutePath, lastModifiedTime: FileTime) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attributedPathFilesUnder(base: AbsolutePath, pattern: String, logger: Logger, maxDepth: Int = Int.MaxValue): List[AttributedPath]
Get all files under
base
that match the patternpattern
up to depthmaxDepth
.Get all files under
base
that match the patternpattern
up to depthmaxDepth
.The returned list of traversed files contains a last modified time attribute. This is a duplicated version of pathFilesUnder that returns the last modified time attribute for performance reasons, since the nio API exposes the attributed in the visitor and minimizes the number of underlying file system calls.
Example:
Paths.getAll(src, "glob:**.{scala,java}")
- final val bloopCacheDir: AbsolutePath
- final val bloopConfigDir: AbsolutePath
- final val bloopDataDir: AbsolutePath
- final val bloopLogsDir: AbsolutePath
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
delete(path: AbsolutePath): Unit
Recursively delete
path
and all its content.Recursively delete
path
and all its content.- path
The path to delete
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getCacheDirectory(dirName: String): AbsolutePath
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pathFilesUnder(base: AbsolutePath, pattern: String, maxDepth: Int = Int.MaxValue): List[AbsolutePath]
Get all files under
base
that match the patternpattern
up to depthmaxDepth
.Get all files under
base
that match the patternpattern
up to depthmaxDepth
.Example:
Paths.getAll(src, "glob:**.{scala,java}")
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )