Rsync algorithm as a ruby library