recursively delete all directories in a relative path DO NOT DELETE absolute paths
recursively delete all directories in a relative path DO NOT DELETE absolute paths
recursively delete all directories in a relative path DO NOT DELETE absolute paths
a directory hierarchy to delete
Read a text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles
Read a text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles
a java File to be read
Read a text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles
Read a text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles
The file to read
Read text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles
Read text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles
a java File to be read
resourceName typically begins with a slash.
Read a text file and return it as a single string Closes the file after read to avoid dangling file handles
Read a text file and return it as a single string Closes the file after read to avoid dangling file handles
a java File to be read
Read a text file and return it as a single string Closes the file after read to avoid dangling file handles
Read a text file and return it as a single string Closes the file after read to avoid dangling file handles
The file to read
Read text file and return it as a single string Closes the file after read to avoid dangling file handles
Read text file and return it as a single string Closes the file after read to avoid dangling file handles
a java File to be read
resourceName typically begins with a slash.
Indicate if an external command (executable) is available (from the current PATH).
Indicate if an external command (executable) is available (from the current PATH).
the command/executable (without any arguments).
true if
returns a 0 exit status.cmd
Indicate if an external command (executable) is available (from the current PATH).
Indicate if an external command (executable) is available (from the current PATH).
the command/executable plus any arguments to the command as a Seq().
true if
returns a 0 exit status.cmd <args>
Flag indicating if vcs is available (for Verilog compilation and testing).
Flag indicating if vcs is available (for Verilog compilation and testing).
We used to use a bash command (which ...
) to determine this, but this is problematic on Windows (issue #807).
Instead we try to run the executable itself (with innocuous arguments) and interpret any errors/exceptions
as an indication that the executable is unavailable.
Create a directory if it doesn't exist
Create a directory if it doesn't exist
a directory string with one or more levels
true if the directory exists or if it was successfully created