syncthing/lib/db
Jakob Borg c4ba580cbb all: Remove symlink support on Windows, SymlinksEnabled config
After this change,

- Symlinks on Windows are always unsupported. Sorry.

- Symlinks are always enabled on other platforms. They are just a small
  file like anything else. There is no need to special case them. If you
  don't want to sync some symlinks, ignore them.

- The protocol doesn't differentiate between different "types" of
  symlinks. If that distinction ever does become relevant the individual
  devices can figure it out by looking at the destination when they
  create the link.

It's backwards compatible in that all the old symlink types are still
understood to be symlinks, and the new SYMLINK type is equivalent to the
old SYMLINK_UNKNOWN which was always a valid way to do it.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3962
LGTM: AudriusButkevicius
2017-02-07 08:34:24 +00:00
..
testdata lib/protocol, lib/discover, lib/db: Use protocol buffer serialization (fixes #3080) 2016-07-04 10:40:29 +00:00
.gitignore Change DB label format (index folders, devices) 2016-01-03 19:32:40 +01:00
benchmark_test.go Benchmark must use *db.Instance 2015-11-05 17:46:53 +00:00
blockmap_test.go build: Enable gometalinter "gosimple" check, improve build.go 2016-12-21 14:53:45 +01:00
blockmap.go build: Enable gometalinter "unconvert" check 2016-12-21 14:53:45 +01:00
concurrency_test.go build: Enable gometalinter "gosimple" check, improve build.go 2016-12-21 14:53:45 +01:00
debug.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
leveldb_dbinstance.go all: Remove symlink support on Windows, SymlinksEnabled config 2017-02-07 08:34:24 +00:00
leveldb_test.go lib/db: Don't panic on unknown folder in ListFolders (fixes #3584) 2017-01-04 10:34:52 +00:00
leveldb_transactions.go lib/db: Fix ineffassign lint issue 2016-11-24 12:08:44 +01:00
leveldb.go cmd/syncthing, lib/db, lib/model, lib/protocol: Implement delta indexes (fixes #438) 2016-07-23 12:46:31 +00:00
namespaced_test.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
namespaced.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
set_test.go cmd/syncthing, lib/db, lib/model: Track more detailed file/dirs/links/deleted counts 2016-10-17 23:57:43 +02:00
set.go gui, lib/db: Correct space accounting of symlinks, for "out of sync" status 2016-12-09 10:38:36 +01:00
structs.go all: Remove symlink support on Windows, SymlinksEnabled config 2017-02-07 08:34:24 +00:00
structs.pb.go vendor: Update github.com/gogo/protobuf 2017-01-03 00:16:21 +00:00
structs.proto vendor: Update github.com/gogo/protobuf 2017-01-03 00:16:21 +00:00