mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 02:34:40 +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() |
||
---|---|---|
.. | ||
check_test.go | ||
check.go | ||
copy_test.go | ||
copy.go | ||
dedupe_test.go | ||
dedupe.go | ||
listdirsorted_test.go | ||
logger.go | ||
lsjson_test.go | ||
lsjson.go | ||
multithread_test.go | ||
multithread.go | ||
operations_internal_test.go | ||
operations_test.go | ||
operations.go | ||
rc_test.go | ||
rc.go | ||
reopen_test.go | ||
reopen.go |