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

Implement HTTP API to restore old version of a file in a magic-folder #108

Open
exarkun opened this issue Apr 28, 2020 · 0 comments
Open
Labels
Nice To Have A feature that is not required but may be desirable

Comments

@exarkun
Copy link
Member

exarkun commented Apr 28, 2020

An older content version of a file can be restored and made the tip for that file by merely modifying the content of the file in the folder (eg copying an old version into the folder over-top of the existing version). However, the intent of this change is not completely transparent to magic-folder. It may be a normal edit or it may be an attempt to roll back the file to an older version.

To be able to make the metadata most closely reflect the user intent, magic-folder can expose an API for performing this operation. Use of the API makes it explicit what the user intent is.

@exarkun exarkun added the Nice To Have A feature that is not required but may be desirable label Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nice To Have A feature that is not required but may be desirable
Projects
No open projects
Development

No branches or pull requests

1 participant