If I had to guess, what that's doing is iterating over all the changes polled in and sort of invalidating those paths in the cache. This would make the reference code easier to follow and make me write better stuff.īy looking at both drive.go's and amazonclouddrive.go's implementations, I see this: Once this is done, you'd have to call notifyFunc with X and Y". What's the rough idea behind what I need to do? I'm not asking for a specific, line-by-line explanation, just the overall pseudo-algorithm, like "now that you have all the file change entries, you should then do this and that and make sure that this ends up like that. I've been using Amazon CloudDrive and Drive ChangeNotify implementations as reference and now I've a couple of interrelated questions. You were right, that absolutely did it, huge been writing down code since then and reached a point where I have every added/updated/deleted file entry in a Dropbox remote polled in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |