Use to cache arbitrary content associated with this instance. Use for smallish objects that are expensive to compute.
Add the given file to the project. Path can be nested. Content is a literal string. This method will throw an error if it is not successful.
path to file relative to root of project
The content to be placed in the new file
Recursively deletes a directory and all its contents with the given path. Errors when deleting the directory are caught.
path to directory relative to root of project
Delete the given file from the project. Path can be nested. Errors when deleting the file are caught.
path to file relative to root of project
Does a directory with the given path exist?
path to directory relative to root of project
Does a regular file with the given path exist? It will return false if the file does not exist or is not a regular file.
path to file relative to root of project
Find a regular file with the given path. Return undefined if file does not exist or is not a regular file.
path to file relative to root of project
Makes a file executable. Other permissions are unchanged.
path to file relative to root of project
Generated using TypeDoc
Synchronous project operations. Should generally be avoided except for testing or in other special cases.