syncthing/lib
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
..
auto Update 'Edit' menu to 'Action' menu (fixes #2662) 2016-01-13 20:09:32 +10:00
beacon Remove unused struct field 2015-10-27 09:55:05 +01:00
config Always run relaying when enabled (fixes #2665) 2016-01-12 14:15:47 +01:00
connections Don't resolve destination address until we need to (fixes #2671) 2016-01-07 12:32:10 +01:00
db Change DB label format (index folders, devices) 2016-01-03 19:32:40 +01:00
dialer Add dialer.DialTimeout support 2015-11-26 23:31:37 +00:00
discover More fine grained locking in discovery cache (fixes #2667) 2016-01-09 00:56:03 +01:00
events Don't cause rare spurious event timeout 2015-11-17 12:05:22 +01:00
fnmatch Use raw strings to describe regexes, avoids double escaping 2015-09-02 22:19:45 +02:00
ignore Correctly report errors encountered parsing ignores (fixes #2309, fixes #2296) 2015-09-29 18:04:18 +02:00
logger The "OK" log level is silly and should not exist 2016-01-16 23:04:41 +01:00
model Model.internalScanFolderSubs: Scan only requested subs. 2016-01-22 23:27:38 -05:00
osutil RLimit comment typo 2016-01-17 12:54:44 +01:00
protocol A couple of protocol tests 2016-01-20 11:37:48 -08:00
rc Handle sparse files (fixes #245) 2015-11-21 17:58:09 +01:00
relay Svc -> Service 2015-12-23 15:31:12 +00:00
scanner Humanize serialization of version vectors (again) 2016-01-20 11:14:08 -08:00
signature The PublicKey() method is an addition in Go 1.4 2015-10-27 16:03:14 +01:00
stats We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
symlinks Fix import paths 2015-09-22 19:38:46 +02:00
sync Remove dead code 2015-10-25 20:46:09 +00:00
tlsutil Generate ECDSA keys instead of RSA 2015-11-27 09:15:12 +01:00
upgrade FetchLatestReleases: fix the error log message 2016-01-19 21:32:33 -05:00
upnp Svc -> Service 2015-12-23 15:31:12 +00:00
versioner Better error messages for globbing errors 2015-12-15 10:04:13 +01:00