Skip to main content

Module sync

Module sync 

Source
Expand description

Sync service layer for portal synchronization logic.

This module provides pure business logic for delta detection and sync statistics, decoupled from I/O operations and CLI orchestration.

Structs§

AtomicSyncStats
Thread-safe wrapper for SyncStats using atomic counters.
BatchHarvestSummary
Aggregated results from batch harvesting multiple portals.
PortalHarvestResult
Result of harvesting a single portal in batch mode.
ReprocessingDecision
Result of delta detection for a dataset.
SyncResult
Result of a sync operation including status and statistics.
SyncStats
Statistics for a portal sync operation.

Enums§

SyncOutcome
Outcome of processing a single dataset during sync.
SyncStatus
Overall status of a sync operation.

Functions§

needs_reprocessing
Determines if a dataset needs reprocessing based on content hash comparison.