A specification for deleting files from the filesystem.
| Type | Name and description |
|---|---|
DeleteSpec |
delete(Object... files)Specifies the files to delete. |
void |
setFollowSymlinks(boolean followSymlinks)Specifies whether or not symbolic links should be followed during deletion. |
Specifies the files to delete.
files - the list of files which should be deleted. Any type of object
accepted by Project.filesSpecifies whether or not symbolic links should be followed during deletion.
followSymlinks - deletion will follow symlniks when true.