syncthing/internal/model
Jakob Borg f0684d83e9 Add osutil.AtomicWriter
This captures the common pattern of writing to a temp file and moving it
to it's real name only if everything went well. It reduces the amount of
code in some places where we do this, but maybe not as much as I
expected because the upgrade thing is still a special snowflake...
2015-07-20 14:27:14 +02:00
..
testdata Retain meaningful names for temporary files 2015-05-10 18:57:27 +02:00
.gitignore model: TestIgnores should not randomly fail 2015-04-04 22:55:24 +02:00
debug.go MPLv2 2015-03-17 16:02:27 +01:00
deviceactivity_test.go MPLv2 2015-03-17 16:02:27 +01:00
deviceactivity.go Add mutex logging 2015-04-23 10:54:14 +01:00
doc.go MPLv2 2015-03-17 16:02:27 +01:00
folderstate.go Correctly set and clear errors for missing folders (fixes #1937) 2015-06-13 23:45:54 +01:00
model_test.go Make sure connection is added to m.protoConn and m.rawConn before it's Start()ed (fixes #2034) 2015-07-10 16:43:41 +10:00
model.go Add osutil.AtomicWriter 2015-07-20 14:27:14 +02:00
progressemitter_test.go Add mutex logging 2015-04-23 10:54:14 +01:00
progressemitter.go Refactor config commit stuff to support restartless updates better 2015-06-09 15:41:22 +02:00
queue_test.go Configurable file pull order (alphabetic, random, by size or age) 2015-04-25 23:20:21 +09:00
queue.go Configurable file pull order (alphabetic, random, by size or age) 2015-04-25 23:20:21 +09:00
rofolder.go Serialize scans and pulls (fixes #1391) 2015-06-20 23:01:40 +02:00
rwfolder_test.go Collect puller errors, send FolderErrors event 2015-06-30 14:41:47 +02:00
rwfolder.go Debug output on request errors 2015-07-10 16:01:10 +10:00
sharedpullerstate_test.go Add mutex logging 2015-04-23 10:54:14 +01:00
sharedpullerstate.go Trigger ItemFinished when temp file creation fails instead of failing silently 2015-06-03 16:28:31 +02:00
tempname_test.go Added simple unit test for temporary filenames 2015-05-10 18:57:27 +02:00
tempname.go Retain meaningful names for temporary files 2015-05-10 18:57:27 +02:00
util.go MPLv2 2015-03-17 16:02:27 +01:00