syncthing/lib/fs
Simon Frei ebead944b5
lib/fs: Pass infinite recursion error on instead of warning (#6846)
Prompted by https://forum.syncthing.net/t/infinite-filesystem-recursion-detected/15285. In my opinion the filesystem shouldn't throw warnings but pass on errors for the caller to decide what's to be happening with it. Right now in this PR an infinite recursion is a normal scan error, i.e. folder is in failed state and displays failed items, but no warning. I think that's appropriate but if deemed appropriate an additional warning can be thrown in the scanner.
2020-07-22 22:10:24 +02:00
..
basicfs_copy_range_copyfilerange.go all: Add copy-on-write filesystem support (fixes #4271) (#6746) 2020-06-18 08:15:47 +02:00
basicfs_copy_range_duplicateextents.go lib/fs: Add support for Windows duplicate extents (#6764) 2020-06-18 22:32:26 +01:00
basicfs_copy_range_ioctl.go all: Add copy-on-write filesystem support (fixes #4271) (#6746) 2020-06-18 08:15:47 +02:00
basicfs_copy_range_sendfile.go all: Add copy-on-write filesystem support (fixes #4271) (#6746) 2020-06-18 08:15:47 +02:00
basicfs_copy_range.go all: Add copy-on-write filesystem support (fixes #4271) (#6746) 2020-06-18 08:15:47 +02:00
basicfs_fileinfo_unix.go lib/fs: Treat Windows junctions as normal directories (#6606) 2020-05-13 21:46:24 +02:00
basicfs_fileinfo_windows.go lib/fs: Treat Windows junctions as normal directories (#6606) 2020-05-13 21:46:24 +02:00
basicfs_test.go lib/fs: Treat Windows junctions as normal directories (#6606) 2020-05-13 21:46:24 +02:00
basicfs_unix.go lib/fs: Improve root check (#6033) 2019-09-29 23:38:11 +08:00
basicfs_watch_errors_linux.go lib/fs: Fix and update error about inotify watch limit (fixes #4833) (#4835) 2018-03-23 12:56:38 +01:00
basicfs_watch_errors_others.go all: Add filesystem notification support 2017-10-20 14:52:55 +00:00
basicfs_watch_eventtypes_fen.go vendor: github.com/Zillode/notify is now github.com/syncthing/notify (#4813) 2018-03-14 14:48:22 +01:00
basicfs_watch_eventtypes_inotify.go vendor: github.com/Zillode/notify is now github.com/syncthing/notify (#4813) 2018-03-14 14:48:22 +01:00
basicfs_watch_eventtypes_kqueue.go lib/fs: Fix kqueue event list (fixes #5308) (#5885) 2019-07-23 14:11:15 +02:00
basicfs_watch_eventtypes_other.go vendor: github.com/Zillode/notify is now github.com/syncthing/notify (#4813) 2018-03-14 14:48:22 +01:00
basicfs_watch_eventtypes_readdcw.go lib/fs: Catch size-preserving changes on windows (fixes #5050) (#5056) 2018-07-09 18:29:22 +01:00
basicfs_watch_test.go lib/fs: Prevent race-detector triggering in tests (fixes #6608) (#6642) 2020-05-14 00:30:09 +02:00
basicfs_watch_unsupported.go lib/fs, lib/model: Add error channel to Watch to avoid panics (fixes #5697) (#5734) 2019-05-25 20:08:26 +01:00
basicfs_watch.go lib: Replace done channel with contexts in and add names to util services (#6166) 2019-11-21 08:41:15 +01:00
basicfs_windows_test.go lib/fs: Check events against both the user and eval root (#6013) 2019-09-22 08:03:22 +01:00
basicfs_windows.go all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
basicfs.go lib/fs: Treat Windows junctions as normal directories (#6606) 2020-05-13 21:46:24 +02:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
errorfs.go lib/{fs,scanner}: gofmt from Go 1.14 (#6509) 2020-04-07 09:31:29 +02:00
fakefs_test.go lib/fs, lib/model: Rewrite RecvOnly tests (#6318) 2020-02-12 07:47:05 +01:00
fakefs.go lib/fs: Avoid dirty offset read in fakefs (fixes #6584) 2020-04-28 09:58:31 +02:00
filesystem_copy_range_allwithfallback.go lib/fs: Add support for Windows duplicate extents (#6764) 2020-06-18 22:32:26 +01:00
filesystem_copy_range_method.go lib/fs: Add support for Windows duplicate extents (#6764) 2020-06-18 22:32:26 +01:00
filesystem_copy_range_standard.go all: Add copy-on-write filesystem support (fixes #4271) (#6746) 2020-06-18 08:15:47 +02:00
filesystem_copy_range_test.go all: Add copy-on-write filesystem support (fixes #4271) (#6746) 2020-06-18 08:15:47 +02:00
filesystem_copy_range.go all: Add copy-on-write filesystem support (fixes #4271) (#6746) 2020-06-18 08:15:47 +02:00
filesystem_test.go lib/fs: Improve IsParent (#5658) 2019-04-22 11:12:32 +02:00
filesystem.go lib/model: Check dir before deletion when pulling (#6741) 2020-06-16 15:20:08 +02:00
folding_test.go lib/fs: Add case-insensitive fakefs (#6074) 2019-11-29 09:17:42 +01:00
folding.go lib/fs: Add case insensitivity to MtimeFS 2017-11-17 12:10:16 +00:00
logfs.go lib/fs, lib/model: Add error channel to Watch to avoid panics (fixes #5697) (#5734) 2019-05-25 20:08:26 +01:00
lstat_broken.go lib/scanner: Use fs.Filesystem for all operations 2017-04-01 09:04:11 +00:00
lstat_regular.go lib/fs: Treat Windows junctions as normal directories (#6606) 2020-05-13 21:46:24 +02:00
lstat_windows.go lib/fs: Set execute bits on junctions converted to dirs (ref #6606) (#6645) 2020-05-14 08:09:58 +02:00
mtimefs_test.go all: Propagate errors from NamespacedKV (#6203) 2019-11-30 13:03:24 +01:00
mtimefs.go all: Propagate errors from NamespacedKV (#6203) 2019-11-30 13:03:24 +01:00
tempname_test.go lib: Folder marker is now a folder 2017-09-02 05:52:38 +00:00
tempname.go all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
types.go lib/fs: Add fakefs (#5235) 2018-10-02 19:29:06 +01:00
util_test.go lib/versioner: Restore for all versioners, cross-device support (#5514) 2019-04-28 23:30:16 +01:00
util.go all: Cleanups enabled by Go 1.12 2019-11-10 10:16:10 +01:00
walkfs_test.go lib/fs: Pass infinite recursion error on instead of warning (#6846) 2020-07-22 22:10:24 +02:00
walkfs.go lib/fs: Pass infinite recursion error on instead of warning (#6846) 2020-07-22 22:10:24 +02:00