-
Notifications
You must be signed in to change notification settings - Fork 66
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
example for using as a library #7
Comments
The best example should be the gosync tool (under gosync), although it doesn't implement a full directory sync yet. There are almost certainly a few things that need checking - truncating file lengths, setting file flags etc. |
See: https://github.com/Redundancy/go-sync/blob/master/gosync/patch.go |
I've made some improvements that should make it considerably easier and cleaner to do this. It's still missing a number of things, but it should be a much saner proposition. See the updated patch.go file. It's also on my list of things to do in the gosync tool. |
Will review |
How would I use go-sync as a library in my app to sync a directory to another directory? Can you provide some examples.
The text was updated successfully, but these errors were encountered: