Forgets about an application deployment. This is useful if the application has been deleted on the server, or the local deployment information needs to be reset.
forgetDeployment(
appPath = getwd(),
name = NULL,
account = NULL,
server = NULL,
dryRun = FALSE,
force = !interactive()
)
NULL, invisibly.
The path to the content that was deployed, either a directory or an individual document.
The name of the content that was deployed (optional)
The name of the account to which the content was deployed (optional)
The name of the server to which the content was deployed (optional)
Set to TRUE to preview the files/directories to be removed instead of actually removing them. Defaults to FALSE.
Set to TRUE to remove files and directories without prompting. Defaults to FALSE in interactive sessions.
This method removes from disk the file containing deployment metadata. If "name", "account", and "server" are all NULL, then all of the deployments for the application are forgotten; otherwise, only the specified deployment is forgotten.