syncthing/lib/model
Jakob Borg c7522063b3 lib/model: Don't leak fd when truncate fails (fixes #4593)
Also attempt to handle this nicer by ignoring the truncate failure when
it doesn't matter, and recover by deleting the temp file when it does.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4594
2017-12-14 10:42:40 +00:00
..
testdata lib/model: Temp names from all platforms should be recognized as such 2016-11-30 21:23:24 +00:00
.gitignore mv internal lib 2015-08-09 09:35:26 +02:00
debug.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
deviceactivity_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
deviceactivity.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
devicedownloadstate_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
devicedownloadstate.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
doc.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
folder.go lib/model: Trigger a pull when ignore patterns change 2017-11-20 16:29:36 +00:00
folderscanner.go lib/model: Deduplicate folder loops 2017-09-07 06:17:47 +00:00
folderstate.go lib/model, lib/config: Refactor folder health/error handling (fixes #4445, fixes #4451) 2017-10-24 07:58:55 +00:00
model_test.go lib/db: Keep folder meta data persistently in db (fixes #4400) 2017-12-14 09:51:17 +00:00
model.go lib/config, lib/model: Tweaks to the auto accept feature 2017-12-07 08:33:32 +00:00
progressemitter_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
progressemitter.go all: Correct various typos 2017-02-25 08:12:13 +00:00
queue_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
queue.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
requests_test.go gui, lib/config, lib/model: Support auto-accepting folders (fixes #2299) 2017-12-07 07:08:24 +00:00
rofolder.go lib/model: Add initial noop watch cancel func (fixes #4464) 2017-10-26 11:49:06 +00:00
rwfolder_test.go lib/model: Improve scan scheduling and dir del during pull (fixes #4475 #4476) 2017-12-07 08:42:03 +00:00
rwfolder.go lib/model: Improve scan scheduling and dir del during pull (fixes #4475 #4476) 2017-12-07 08:42:03 +00:00
sentdownloadstate.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
sharedpullerstate_test.go lib/model: Remove dead code (*sharedPullerState).sourceFile 2017-12-12 11:30:47 +01:00
sharedpullerstate.go lib/model: Don't leak fd when truncate fails (fixes #4593) 2017-12-14 10:42:40 +00:00
sorter_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
sorter.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
util.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00