syncthing/lib/model
Michael Ploujnikov 6c33188af3 Model.internalScanFolderSubs: Scan only requested subs.
This reverts the change introduced in 9b9fe0d Reduce scanning effort.
That commit caused us to automatically ignore the basename of the
specified subs and instead scan closest known root folder. For
example, in a folder that looks like:

Sync/
├── 00
│   ├── one
│   ├── three
│   └── two
├── 01
│   ├── one
│   ├── three
│   └── two
├── 02
│   ├── one
│   ├── three
│   └── two
└── one

calling '/rest/db/scan?folder=default&sub=01' called filepath.Walk on
the whole Sync/ folder instead of just the desired subfolder. This
contradicts the scan behavior promised by the documentation.

This is related to #2151.
2016-01-22 23:27:38 -05:00
..
testdata mv internal lib 2015-08-09 09:35:26 +02:00
.gitignore mv internal lib 2015-08-09 09:35:26 +02:00
connection.go Fix import paths 2015-09-22 19:38:46 +02:00
debug.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
deviceactivity.go Fix import paths 2015-09-22 19:38:46 +02:00
deviceactivity_test.go Fix import paths 2015-09-22 19:38:46 +02:00
doc.go mv internal lib 2015-08-09 09:35:26 +02:00
folderstate.go mv internal lib 2015-08-09 09:35:26 +02:00
model.go Model.internalScanFolderSubs: Scan only requested subs. 2016-01-22 23:27:38 -05:00
model_test.go Don't leak sendIndexes on disconnect (fixes #2589) 2016-01-11 17:57:25 +01:00
progressemitter.go Tests must use locking to avoid race (fixes #2394) 2015-10-20 08:51:31 +02:00
progressemitter_test.go mv internal lib 2015-08-09 09:35:26 +02:00
queue.go Tests must use locking to avoid race (fixes #2394) 2015-10-20 08:51:31 +02:00
queue_test.go mv internal lib 2015-08-09 09:35:26 +02:00
rofolder.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
rwfolder.go Humanize serialization of version vectors (again) 2016-01-20 11:14:08 -08:00
rwfolder_test.go Refactor rwfolder tests 2015-12-22 23:43:07 -05:00
sharedpullerstate.go Fix symlinks (fixes #2524) 2015-11-28 20:23:08 +00:00
sharedpullerstate_test.go mv internal lib 2015-08-09 09:35:26 +02:00
tempname.go mv internal lib 2015-08-09 09:35:26 +02:00
tempname_test.go mv internal lib 2015-08-09 09:35:26 +02:00
util.go mv internal lib 2015-08-09 09:35:26 +02:00