Is "delete project from database" safe?

tl,dr:
Does the function “delete project from database” remove anything from the project directory?

I recently upgraded to v5.0.0. During the upgrade one project was detached due to compatibility reasons. After updating to 5.0.3 I reattached it. Unfortunately, this failed two times. Analyzing the api logs, I found a job mentioned in the job_manifest.json without a job directory. After removing the line from the manifest, the import worked. However, this now leaves me with two projects with a big red “Import failed” and I would like to get rid of them.

In the Actions Menu, the only thing I can click on is Delete project from database. Will this remove the failed projects and leave the successfully imported one alone?