syncthing/lib/fs
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
..
basicfs_symlink_unix.go all: Remove symlink support on Windows, SymlinksEnabled config 2017-02-07 08:34:24 +00:00
basicfs_symlink_windows.go all: Remove symlink support on Windows, SymlinksEnabled config 2017-02-07 08:34:24 +00:00
basicfs_walk.go lib/fs: The interface and basicfs 2016-11-24 12:07:14 +00:00
basicfs.go lib/fs: The interface and basicfs 2016-11-24 12:07:14 +00:00
filesystem.go all: Remove symlink support on Windows, SymlinksEnabled config 2017-02-07 08:34:24 +00:00
mtimefs_test.go cmd/syncthing, lib/fs, lib/sync: Spelling in comments 2017-02-05 18:51:52 +01:00
mtimefs.go lib/fs: A nil MtimeFS is valid (fixes #3958) 2017-02-05 12:54:08 +00:00