Part of vmc.contrib.axiom.store View In Hierarchy
Implements interfaces: vmc.contrib.axiom.iaxiom.IAtomicFile
I am a file which is moved from temporary to permanent storage when it is closed.
After I'm closed, I will have a 'finalpath' property saying where I went.Method | __init__ | Create an AtomicFile. (Note: AtomicFiles can only be opened in |
Method | close | Close this file and commit it to its permanent location. |
Method | abort | Give up on this file. Discard its contents. |
Parameters | tempname | The filename to open for temporary storage. |
destpath | The filename to move this file to when .close() is called. |
Returns | a Deferred which fires when the file has been moved (and backed up to tertiary storage, if necessary). |