syncthing/lib/osutil
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
..
atomic_test.go lib/osutil: Don't chmod in atomic file creation (fixes #2472) 2016-11-23 14:06:08 +00:00
atomic_unix_test.go lib/osutil: Don't chmod in atomic file creation (fixes #2472) 2016-11-23 14:06:08 +00:00
atomic.go lib/osutil: Don't chmod in atomic file creation (fixes #2472) 2016-11-23 14:06:08 +00:00
filenames_darwin.go mv internal lib 2015-08-09 09:35:26 +02:00
filenames_unix.go mv internal lib 2015-08-09 09:35:26 +02:00
filenames_windows.go mv internal lib 2015-08-09 09:35:26 +02:00
fsroots_unix.go lib/osutil: Return "/" as filesystem root on non-windows (fixes #3321) 2016-06-20 20:25:00 +00:00
fsroots_windows.go lib/osutil: Return "/" as filesystem root on non-windows (fixes #3321) 2016-06-20 20:25:00 +00:00
glob_unix.go mv internal lib 2015-08-09 09:35:26 +02:00
glob_windows_test.go lib/osutil: Prevent infinite Glob recursion (fixes #3577) 2016-10-12 20:55:38 +00:00
glob_windows.go lib/osutil: Prevent infinite Glob recursion (fixes #3577) 2016-10-12 20:55:38 +00:00
hidden_unix.go mv internal lib 2015-08-09 09:35:26 +02:00
hidden_windows.go mv internal lib 2015-08-09 09:35:26 +02:00
lan.go Remove windows specialisation from osutil.GetLans (fixes #2192) 2015-12-20 18:10:02 +00:00
lstat_broken.go mv internal lib 2015-08-09 09:35:26 +02:00
lstat_ok.go mv internal lib 2015-08-09 09:35:26 +02:00
mkdirall_windows.go gui, lib: Add missing licenses (fixes #3100) 2016-05-18 00:10:50 +00:00
mkdirall.go mv internal lib 2015-08-09 09:35:26 +02:00
osutil_test.go lib: Remove osutil.Remove & osutil.RemoveAll (fixes #3513) 2016-08-16 10:01:58 +00:00
osutil.go lib/osutil: Fix lint warning on error formatting (fixes #3760) 2016-11-24 11:20:51 +01:00
ping.go all: Correct spelling in comments 2016-05-08 10:54:22 +00:00
replacingwriter_test.go mv internal lib 2015-08-09 09:35:26 +02:00
replacingwriter.go mv internal lib 2015-08-09 09:35:26 +02:00
rlimit_unix.go all: Correct spelling in comments 2016-05-08 10:54:22 +00:00
rlimit_windows.go Increase open file (fd) limit if possible 2015-08-15 15:28:53 +02:00
sync.go build: Enable gometalinter "gosimple" check, improve build.go 2016-12-21 14:53:45 +01:00
traversessymlink_test.go all: Remove symlink support on Windows, SymlinksEnabled config 2017-02-07 08:34:24 +00:00
traversessymlink.go lib/osutil: Replace IsDir with TraversesSymlink (fixes #3839) 2017-01-10 07:09:31 +00:00