cloud_sync_core 0.1.1
cloud_sync_core: ^0.1.1 copied to clipboard
Storage-agnostic core for the cloud_sync family. Defines StorageAdapter, SyncEngine, SyncClient, ManifestDiffer, and conflict resolution — shared by every backend adapter.
0.1.1 #
Initial release. Storage-agnostic core extracted from drive_sync_flutter 1.2.0.
StorageAdapter: 5-method abstract interface (ensureFolder,listFiles,uploadFile,downloadFile,deleteFile)SyncEngine: orchestrates manifest diffing, conflict resolution, and file transferManifestDiffer: compares two sync manifests (added / modified / deleted / unchanged)ConflictResolver: four strategies —newerWins,localWins,remoteWins,askUserSyncClient: high-level bidirectional sync withpush/pull/sync/statusoperationsPathValidator: structural path safety (no traversal, no absolute paths, no empty segments)- Value types:
RemoteFileInfo,SyncFileEntry,SyncManifest,SyncResult,SyncStatus,SyncConflict,ManifestDiff