cloud_sync_core 0.1.1 copy "cloud_sync_core: ^0.1.1" to clipboard
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 transfer
  • ManifestDiffer: compares two sync manifests (added / modified / deleted / unchanged)
  • ConflictResolver: four strategies — newerWins, localWins, remoteWins, askUser
  • SyncClient: high-level bidirectional sync with push / pull / sync / status operations
  • PathValidator: structural path safety (no traversal, no absolute paths, no empty segments)
  • Value types: RemoteFileInfo, SyncFileEntry, SyncManifest, SyncResult, SyncStatus, SyncConflict, ManifestDiff
0
likes
160
points
152
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Storage-agnostic core for the cloud_sync family. Defines StorageAdapter, SyncEngine, SyncClient, ManifestDiffer, and conflict resolution — shared by every backend adapter.

Repository (GitHub)
View/report issues
Contributing

Topics

#sync #file-sync #storage #cloud

License

MIT (license)

Dependencies

crypto, meta, path

More

Packages that depend on cloud_sync_core