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

Introduce atomic move and write of file #4060

Merged
merged 1 commit into from
Nov 1, 2021

Commits on Oct 30, 2021

  1. Introduce atomic move and write of file

    The idea of this changes is simple: let move file to some temporary name
    inside distance folder, and after the file is already copy it renames to
    expected name.
    
    When someone tries to save anything it also moves file to trigger OS
    level notification for change FS.
    
    This commit also enforce that `beets.util.move` shouldn't be used to
    move directories as it described in comment.
    
    Thus, this is fixed beetbox#3849
    catap committed Oct 30, 2021
    Configuration menu
    Copy the full SHA
    8d50301 View commit details
    Browse the repository at this point in the history