aPriori.DNS.delete_existing_files¶
- aPriori.DNS.delete_existing_files(paths, delete=False, context='the API indexes')¶
Checks if any of the given paths exist. If so, prompts the user once to confirm deletion. Deletes the files if confirmed.
- Parameters:
paths – List of file paths to check and possibly delete
context – Optional string to clarify what the files represent (for user message)