![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Builder for a directory. More...
Public Member Functions | |
| TempDirBuilder | cd (String relativePath) throws IOException |
| Create a directory at the given path. | |
| TempDirBuilder | file (String relativePath, String contents) throws IOException |
| Create a file in the given subpath. | |
| TempDirBuilder | mkdirs (String relativePath) throws IOException |
| Create a directory at the given path. | |
Static Public Member Functions | |
| static TempDirBuilder | dirBuilder (Path path) |
Builder for a directory.
Useful to create a fake LF project.
| TempDirBuilder org.lflang.cli.TestUtils.TempDirBuilder.cd | ( | String | relativePath | ) | throws IOException |
Create a directory at the given path.
Return a new temp dir builder for that subdir.
|
static |
| TempDirBuilder org.lflang.cli.TestUtils.TempDirBuilder.file | ( | String | relativePath, |
| String | contents ) throws IOException |
Create a file in the given subpath.
Return this instance.
| TempDirBuilder org.lflang.cli.TestUtils.TempDirBuilder.mkdirs | ( | String | relativePath | ) | throws IOException |
Create a directory at the given path.
Return this instance.