Jakob Borg 9323f0faf8 lib/model: Refactor CheckFolderHealth into separate methods
While attempting to fix #2782 I thought the problem was the
CheckFolderHealth method, so I cleaned it up. That turned out not to be
the case, but I think this is better anyhow.

It also moves the "create folder and marker if the folder was empty in
the index" code to StartFolder where I think it makes better sense.

This is covered by a number of existing tests.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3343
2016-06-26 10:07:27 +00:00
..
2016-06-07 07:33:11 +00:00
2016-06-07 07:31:43 +00:00
2015-08-09 09:35:26 +02:00
2016-05-08 10:54:22 +00:00
2015-09-22 19:38:46 +02:00
2016-05-04 19:38:12 +00:00
2015-07-27 19:00:22 +01:00
2015-03-17 16:02:27 +01:00
2014-07-01 12:20:25 +02:00