private void RecordSkipped(FileSystemComparison comparison) { if (_options.NoHistory) { // fixme: this is a mix of concerns: // there's already a noop history reporter // -> just trying to reduce logging return; } var toRecord = comparison.Skipped .Union(comparison.RecordOnly) .ToArray(); if (toRecord.Any()) { _progressReporter.Bookend( "Recording skipped item history", () => { RecordHistory( toRecord ); } ); } }
private void Log(FileSystemComparison result) { if (!_options.Verbose) { return; } Dump("Excluded", result.Excluded); Dump("Skipped", result.Skipped); Dump("Record only", result.RecordOnly); Dump("Sync", result.SyncQueue); }