]> 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:31:54 +0000 (16:31 +0100)
commitc1208b1e0be832621e718113a91398be3eb92747
tree289e0740e0bf7d8339e0a96777fc228fcc34bb3e
parentc626033037ff4c5b82aa28f0147cd7cd24cbdbf2
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