rclone/fs/sync
nielash c0968a0987 operations: add logger to log list of sync results -- fixes #7282
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()
2024-01-20 14:50:08 -05:00
..
pipe_test.go fs: use atomic types 2023-08-22 12:52:13 +01:00
pipe.go move: if --check-first and --order-by are set then delete with perfect ordering 2023-03-10 08:23:32 +00:00
rc_test.go test: replace defer cleanup with t.Cleanup 2022-12-09 14:38:05 +00:00
rc.go docs: cross link doc pages for related commands 2022-06-21 23:43:00 +02:00
sync_test.go operations: add logger to log list of sync results -- fixes #7282 2024-01-20 14:50:08 -05:00
sync.go operations: add logger to log list of sync results -- fixes #7282 2024-01-20 14:50:08 -05:00