~manishsinha/dmedia/fix-bug-680886

  • Committer: Jason Gerard DeRose
  • Date: 2011-02-13 02:31:50 UTC
  • mfrom: (154.2.16 filestore-tmp-api)
  • Revision ID: jderose@novacut.com-20110213023150-0rfz39sb60b8q99b
Split FileStore.finalize_transfer() into two simpler methods

FileStore.tmp_move(tmp_fp, chash, ext) - only moves tmp_fp to canonical
location, assumes higher level code has already computed/verified content has

FileStore.tmp_verify_move(chash, ext) - basically same as finalize_transfer()
except uses tmp_move() to do actually move

To fit these naming conventions, I also renamed:

FileStore.reltemp() => FileStore.reltmp()
FileStore.temp() => FileStore.tmp()
Filename Latest Rev Last Changed Committer Comment Size
..
data 147.1.5 13 years ago Jason Gerard DeRose moved a bunch of data files into new data/ dir Diff
debian 102.2.2 13 years ago Jason Gerard DeRose Brought debian/ back Diff
dmedia 128.1.4 13 years ago Jason Gerard DeRose Renamed dmedialib Python package to dmedia Diff
misc 147.1.1 13 years ago Jason Gerard DeRose Added misc directory and moved hashbench scripts t Diff
po 138 13 years ago Jason Gerard DeRose Added initial translation template Diff
AUTHORS 127.1.4 13 years ago Jason Gerard DeRose Updated AUTHORS file 314 bytes Diff Download File
COPYING 108.1.8 13 years ago Jason Gerard DeRose Switch from LGPLv3 to AGPLv3; changed author/copyr 33.7 KB Diff Download File
File dmedia-cli 128.1.4 13 years ago Jason Gerard DeRose Renamed dmedialib Python package to dmedia 6.2 KB Diff Download File
File dmedia-gtk 138.2.7 13 years ago Jason Gerard DeRose stuff 2.1 KB Diff Download File
File dmedia-import 134 13 years ago Jason Gerard DeRose Added a folder chooser window for when dmedia-impo 2 KB Diff Download File
File dmedia-service 146.1.5 13 years ago Jason Gerard DeRose Got rest of unit tests using dbname instead of cou 1.7 KB Diff Download File
HACKING.txt 152.1.1 13 years ago Jason Gerard DeRose Spruced up HACKING.txt with info about code review 4 KB Diff Download File
MANIFEST.in 147.1.6 13 years ago Jason Gerard DeRose Updated MANIFEST.in, setup.py 243 bytes Diff Download File
README.txt 53 13 years ago Jason Gerard DeRose Small clairification in README 4.3 KB Diff Download File
File setup.py 147.1.6 13 years ago Jason Gerard DeRose Updated MANIFEST.in, setup.py 4.4 KB Diff Download File
File test-torrent.py 154.1.13 13 years ago Jason Gerard DeRose Added better logging, configurirg in test-torrent. 6 KB Diff Download File