Jakob Borg
52d80d8144
lib/fs: Improve root check ( #6033 )
...
The root check would allow things like c:\foobar\baz if the root was
c:\foo, because string wise that's a prefix. Now it doesn't.
2019-09-29 23:38:11 +08:00
Simon Frei
35b699dc77
lib/fs: Check events against both the user and eval root ( #6013 )
2019-09-22 08:03:22 +01:00
Simon Frei
486230768e
lib/fs, lib/model: Add error channel to Watch to avoid panics ( fixes #5697 ) ( #5734 )
...
* lib/fs, lib/model: Add error channel to Watch to avoid panics (fixes #5697 )
* forgot unsupported watch
* and more non(-standard)-unixy fixes
* and windows test
* review
2019-05-25 20:08:26 +01:00
Simon Frei
dfbbb286fc
lib/fs: Consider win83 for root path as well when watching (ref #5706 ) ( #5709 )
2019-05-11 10:06:04 +02:00
Simon Frei
03d0f0dc34
lib/fs: Try EvalSymlinks without '\\?\' prefix on failure ( fixes #5226 ) ( #5227 )
2018-09-26 19:28:20 +01:00
Simon Frei
50ba0fd079
lib/fs: Case insensitive conversion to rel path on windows ( fixes #5183 ) ( #5176 )
2018-09-11 22:30:32 +02:00
Simon Frei
ee6516aa31
lib/fs: Resolve 8.3 filenames from watcher (ref #3800 ) ( #4975 )
2018-06-04 13:41:03 +02:00
Simon Frei
6802505dda
lib/fs: Fix MkdirAll failure due to \\?\ ( fixes #4762 ) ( #4763 )
2018-02-16 15:19:20 +01:00
Audrius Butkevicius
3d8b4a42b7
all: Convert folders to use filesystem abstraction
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4228
2017-08-19 14:36:56 +00:00