3 ms·
When trying to understand rsync and the rolling checksum I stumbled upon a small python implementation in some self-hosted corner of the web[0], which I have ar
by lloeki 4y ago
When trying to understand rsync and the rolling checksum I stumbled upon a small python implementation in some self-hosted corner of the web[0], which I have archived on GH[1] (not the author, but things can vanish quickly, as proved by the bzr repo which went poof[2]).
[0]: https://blog.liw.fi/posts/rsync-in-python/ https://blog.liw.fi/posts/rsync-in-python/
[1]: https://github.com/lloeki/rsync/blob/master/rsync.py https://github.com/lloeki/rsync/blob/master/rsync.py
[2]: https://code.liw.fi/obsync/bzr/trunk/ https://code.liw.fi/obsync/bzr/trunk/
- mmlb 4y agoFor bzr did you try archive.org? https://web.archive.org/web/20150321194412/https://code.liw.fi/obsync/bzr/trunk/ https://web.archive.org/web/20150321194412/https://code.liw....
- jwilk 4y agoI don't think you can clone that.
- mmlb 4y agoTrue, but I imagined fetching every file with wget or equivalent and then just using it locally. Doesn't work anyway because the data is not all there.
- generalizations 4y agoIt's not actually there. https://web.archive.org/web/20150321212547/http://code.liw.fi/obsync/bzr/trunk/branch/ https://web.archive.org/web/20150321212547/http://code.liw.f...
- mmlb 4y agoAh I see now, I didn't traverse deep enough whem checking.