-
Notifications
You must be signed in to change notification settings - Fork 351
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
RFE: offline mode #64
Comments
I'm sorry but I don't think this feature will be easy to implement. I tried to make everything as lazy as possible avoiding to download unnecessary files and metadata. If I implement the offline mode as is, the risk is to be unable to access the majority of files, unless you explicitly download them all. Have you considered using Grive? It's a tool to sync your Drive content to a local directory. |
Grive is unusably slow and unmaintained. What would happen if the user were to do something that loaded all the files in Drive... would all the data then not be available in the cache? And then why not allow this to work when there is no internet connection... e.g. if the connection is flakey. |
The problem is that you don't know in which state a cache entry is. And any entry can be invalidated at any time. But you can do an experiment. Put a very large value in the |
@astrada thanks, what if the files are changed in this time? (assume there are no conflicts) |
If the changes are client-side changes (and you aren't online) you will get an error. If the changes are server-side, you won't see them. You should consider your offline copy as a read-only mirror of your Drive contents. That's because a FUSE filesystem is a standard filesystem, it does not offer primitives for remote (or distributed) filesystems. |
FYI Grive stopped working a few days ago. |
There is another project to access Google Drive that should work offline. |
It would be really great if this could be setup to work in offline mode with the cache, so that even without an internet connection I can access all my files.
I'd be happy if doing a full sync was a command that I had to run periodically.
The text was updated successfully, but these errors were encountered: