Dotty Documentation

0.4.0-bin-SNAPSHOT

class Directory
extends Path

An abstraction for directories.

[-] Constructors

Directory ( jfile: JFile )

[-] Members

[+] private val jfile : JFile
[+] def deepFiles : Iterator [ File ]
[+] def deepList ( depth: Int ) : Iterator [ Path ]

If optional depth argument is not given, will recurse until it runs out of contents.

[+] def dirs : Iterator [ Directory ]
[+] def files : Iterator [ File ]
[+] def list : Iterator [ Path ]

An iterator over the contents of this directory.

[+] override def normalize : Directory
[+] override def toAbsolute : Directory
[+] override def toDirectory : Directory
[+] override def toFile : File
[+] override def walkFilter ( cond: Path => Boolean ) : Iterator [ Path ]