← Back to team overview

syncany-team team mailing list archive

reusing core code

 

I have a request I'd like to make as I see that the core functionality is
now being separated from the GUI.  I think it would be useful to have some
aspects such as the file chunking/encryption algorithm separated out into a
reusable java api.  I don't believe there is an api available with this
functionality and I believe it is rather non-trivial to chunk a file in
such a way as to maximize re-use of previously used chunks (assuming this
functionality is in syncanny).  In fact I would be interested to learn how
the current code efficiently rechunks a file to minimize the amount of data
that needs to be sent over the network  E.g. if some data is inserted in
the middle of the file we obviously don't want to re-upload all chunks
after this point but this seems non-trivial to implement.  Can anyone offer
a short explanation?

thanks!

Follow ups