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

Enable mod time syncing on remotes which can't set mod time on an existing object #348

Closed
ncw opened this issue Feb 9, 2016 · 0 comments

Comments

@ncw
Copy link
Member

ncw commented Feb 9, 2016

Currently remotes which can't set the mod time on an existing object are excluded from mod time syncing.

Can fix this by

  • Make SetModTime return an error.
    • If the remote isn't capable of setting the mod time on an existing object return a sentinel error.
    • Use this sentinel error to make this OK in the sync routines, and the tests.
    • If an update was required and this sentinel error was returned, then upload the entire file.

This would enable

  • b2
  • dropbox (with v2 API)

To do modtime syncing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant