The logic for deleting a workspace
The logic for deleting a workspace
the directory to potentially remove
if specified, only remove if the most-recent file in the directory is older than this timestamp
if true, any pending dependencies will be failed. If false, the workspace will NOT be closed (deleted) if there are any depdendencies
the pendingRequests waiting for files in this potentiallyNotExistentDir
a flag indicating whether the delete was successful