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

cleanup putMany implementation #80

Merged
merged 1 commit into from
Apr 13, 2020
Merged

cleanup putMany implementation #80

merged 1 commit into from
Apr 13, 2020

Commits on Apr 13, 2020

  1. cleanup putMany implementation

    * Use a map for dirsToSync to avoid syncing the same dir multiple times.
    * Keep track of files in a slice, and use offsets into the slice to keep track
    of which ones have been closed/removed.
    
    Also, record the fact that we've created a temporary file _before_ we try to
    write to it, in case the write fails. That way, we'll try to remove it when we
    abort.
    Stebalien committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    bc42aaa View commit details
    Browse the repository at this point in the history