ceylon.file
Directory
Represents a directory in a hierarchical file system.
Attributes inherited from class: Object |
---|
string |
Methods | |
---|---|
Modifier and Type | Method and Description |
shared formal Iterable<Directory> | childDirectories(String filter) The subdirectories that directly belong to this directory. |
shared formal Iterable<Path> | childPaths(String filter) The paths of all files and subdirectories that directly belong to this directory. |
shared formal Resource | childResource(Path|String subpath) Obtain a resource belonging to this directory. |
shared formal Iterable<ExistingResource> | children(String filter) The files and subdirectories that directly belong to this directory. |
shared formal Iterable<File> | files(String filter) The files that directly belong to this directory. |
shared formal Directory | move(Nil target) Move this directory to the given location. |