]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
Rename did_upload_file to did_upload_version, and is_new_file_time to is_new_file.
authorDaira Hopwood <daira@jacaranda.org>
Wed, 30 Sep 2015 15:31:54 +0000 (16:31 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 1 Oct 2015 00:19:49 +0000 (01:19 +0100)
commite45ea2bb1dc4c6844955d3657d33f0e199d0547b
tree94f637cf6b16c26f734c8a080b1659ffcf3eece7
parent806676c746c5edd861f58fc8c0daa060892485fd
Rename did_upload_file to did_upload_version, and is_new_file_time to is_new_file.
Make them take a PathInfo argument rather than (mtime, ctime, size).
Also treat the size of a nonexistent file as None (SQL NULL) rather than 0.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/backupdb.py
src/allmydata/frontends/magic_folder.py
src/allmydata/test/test_magic_folder.py