File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,11 @@ qint64 Capabilities::maxChunkSize() const
250
250
return _capabilities[" files" ].toMap ()[" chunked_upload" ].toMap ()[" max_size" ].toLongLong ();
251
251
}
252
252
253
+ int Capabilities::maxConcurrentChunkUploads () const
254
+ {
255
+ return _capabilities[" files" ].toMap ()[" chunked_upload" ].toMap ()[" max_parallel_count" ].toInt ();
256
+ }
257
+
253
258
bool Capabilities::bulkUpload () const
254
259
{
255
260
return _capabilities[" dav" ].toMap ()[" bulkupload" ].toByteArray () >= " 1.0" ;
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ class OWNCLOUDSYNC_EXPORT Capabilities
65
65
[[nodiscard]] int shareDefaultPermissions () const ;
66
66
[[nodiscard]] bool chunkingNg () const ;
67
67
[[nodiscard]] qint64 maxChunkSize () const ;
68
+ [[nodiscard]] int maxConcurrentChunkUploads () const ;
68
69
[[nodiscard]] bool bulkUpload () const ;
69
70
[[nodiscard]] bool filesLockAvailable () const ;
70
71
[[nodiscard]] bool filesLockTypeAvailable () const ;
You can’t perform that action at this time.
0 commit comments