ente/lib/models/backup_status.dart

18 lines
458 B
Dart
Raw Normal View History

2021-06-28 06:40:19 +00:00
class BackupStatus {
final List<String> localIDs;
final int size;
BackupStatus(this.localIDs, this.size);
}
class BackedUpFileIDs {
final List<String> localIDs;
final List<int> uploadedIDs;
// localSize indicates the approximate size of the files on the device.
// The size may not be exact because the remoteFile is encrypted before
// uploaded
final int localSize;
2021-06-28 06:40:19 +00:00
BackedUpFileIDs(this.localIDs, this.uploadedIDs, this.localSize);
2021-06-28 06:40:19 +00:00
}