mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:36:38 +08:00
c0968a0987
Logger instruments the Sync routine with a status report for each file pair, making it possible to output a list of the synced files, along with their attributes and sigil categorization (match/differ/missing/etc.) It is very customizable by passing in a custom LoggerFn, options, and io.Writers to be written to. Possible uses include: - allow sync to write path lists to a file, in the same format as rclone check - allow sync to output a --dest-after file using the same format flags as lsf - receive results as JSON when calling sync from an internal function - predict the post-sync state of the destination For usage examples, see bisync.WriteResults() or sync.SyncLoggerFn() |
||
---|---|---|
.. | ||
pipe_test.go | ||
pipe.go | ||
rc_test.go | ||
rc.go | ||
sync_test.go | ||
sync.go |