Sync: An initial diskspace check #2939
authorChristian Kamm <mail@ckamm.de>
Wed, 30 Sep 2015 13:07:45 +0000 (15:07 +0200)
committerChristian Kamm <mail@ckamm.de>
Thu, 1 Oct 2015 08:25:35 +0000 (10:25 +0200)
commit12dc372b2147f82a68237507e8abefeadd32016c
tree85e4ed3f6323e590e67617fcc0d8eb79be3391c2
parent20ea9015caede409f0159e09475b4b848f69e54c
Sync: An initial diskspace check #2939

* Before each sync, check that there are at least
  250 MB of space available and abort otherwise.
* Can be overridden with OWNCLOUD_MIN_FREE_SPACE
src/libsync/syncengine.cpp
src/libsync/utility.cpp
src/libsync/utility.h