]> 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>
Wed, 30 Sep 2015 15:45:27 +0000 (16:45 +0100)
commit937431693daab987d31367ed987b163eba22d5e2
tree1b0a3c5899f38e1f5d37fe010535675fa2e0b770
parentfb629a185ed7683dd407bf6473f454db46efb18f
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