Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add File::Delete and File::DeleteDir warning flags #9307

Commits on Dec 3, 2020

  1. Change File::DeleteDir return value

    Makes File::DeleteDir return true when attempting to delete a
    nonexistent path.
    
    The purpose of DeleteDir is to ensure the path doesn't exist after the
    call, which is better reflected by the new return value. Additionally,
    none of the current callers actually check the return value so this
    won't break any existing code.
    Dentomologist committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    c434eef View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. Add warning flags to File deletion functions

    Adds a flag to File::Delete and File::DeleteDir functions to control
    whether a console warning is emitted when the file or directory doesn't
    exist. The flag is optional and true by default to match current behavior.
    Dentomologist committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    4a55511 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2020

  1. Configuration menu
    Copy the full SHA
    760e7e6 View commit details
    Browse the repository at this point in the history