syncthing/lib/model
Simon Frei 6b188ebcf3 lib/model: Mark initial scan as finished even if failed and refactor (fixes #4103)
The mechanism to disallow manual scans before the initial scan completed
(#3996) , had the side effect, that if the initial scan failed, no further
scans are allowed. So this marks the initial scan as finished regardless of
whether it succeeded or not.

There was also redundant code in rofolder and a pointless check for folder
health in scanSubsIfHealthy (happens in internalScanFolderSubdirs as well).
This also moves logging from folder.go to ro/rw-folder.go to include the
information about whether it is send-only or send-receive

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4104
2017-04-20 00:20:34 +00:00
..
testdata lib/model: Temp names from all platforms should be recognized as such 2016-11-30 21:23:24 +00:00
.gitignore mv internal lib 2015-08-09 09:35:26 +02:00
debug.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
deviceactivity_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
deviceactivity.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
devicedownloadstate_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
devicedownloadstate.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
doc.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
folder.go lib/model: Mark initial scan as finished even if failed and refactor (fixes #4103) 2017-04-20 00:20:34 +00:00
folderscanner.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
folderstate.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
model_test.go lib/model: TestIgnores: Add ms sleep on all platforms (ref #3986 #3996) 2017-04-06 09:55:54 +00:00
model.go gui, lib/config, lib/model: Allow absolute values for minimum disk free space (fixes #3307) 2017-04-12 09:01:19 +00:00
progressemitter_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
progressemitter.go all: Correct various typos 2017-02-25 08:12:13 +00:00
queue_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
queue.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
requests_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
rofolder.go lib/model: Mark initial scan as finished even if failed and refactor (fixes #4103) 2017-04-20 00:20:34 +00:00
rwfolder_test.go lib/model: Mark initial scan as finished even if failed and refactor (fixes #4103) 2017-04-20 00:20:34 +00:00
rwfolder.go lib/model: Mark initial scan as finished even if failed and refactor (fixes #4103) 2017-04-20 00:20:34 +00:00
sentdownloadstate.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
sharedpullerstate_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
sharedpullerstate.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
sorter_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
sorter.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
util.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00