syncthing/internal/files
Jochen Voss 28366677b0 Cleanup the code in internal/files/leveldb.go a bit.
This commit introduces the following, cosmetic changes:

- All callers of 'ldbGenericReplace' specify a non-nil 'deleteFn' argument.
  Thus, remove the checks for 'deleteFn' being nil.

- Before this change, 'ldbInsert' took a 'FileInfo' argument and a
  separate argument for the file name, but all callers passed in the
  value of FileInfo.Name as the file name.  Simplify this, by not not
  passing in the file name as a separate argument.  This makes the
  function signature of 'ldbInsert' more similar to 'ldbUpdate'.

- doc fixes
2014-10-10 22:12:01 +01:00
..
testdata Move top level packages to internal. 2014-09-27 09:42:10 +02:00
concurrency_test.go Test case and goleveldb fix (fixes #740, fixes #796) 2014-10-08 09:30:36 +02:00
debug.go Relicense to GPL 2014-10-01 07:53:59 +02:00
filenames_darwin.go Relicense to GPL 2014-10-01 07:53:59 +02:00
filenames_unix.go Relicense to GPL 2014-10-01 07:53:59 +02:00
filenames_windows.go Relicense to GPL 2014-10-01 07:53:59 +02:00
leveldb_test.go bug fix: allow folder names up to length 64 in leveldb 2014-10-07 14:05:04 +01:00
leveldb_xdr.go Rename Repository -> Folder, Node -> Device (fixes #739) 2014-09-28 14:23:07 +01:00
leveldb.go Cleanup the code in internal/files/leveldb.go a bit. 2014-10-10 22:12:01 +01:00
set_test.go Test case and goleveldb fix (fixes #740, fixes #796) 2014-10-08 09:30:36 +02:00
set.go Relicense to GPL 2014-10-01 07:53:59 +02:00