Class v.c.a.s.AtomicFile(file):

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.
def __init__(self, tempname, destpath):
Create an AtomicFile. (Note: AtomicFiles can only be opened in write-binary mode.)
ParameterstempnameThe filename to open for temporary storage.
destpathThe filename to move this file to when .close() is called.
def close(self):
Close this file and commit it to its permanent location.
Returnsa Deferred which fires when the file has been moved (and backed up to tertiary storage, if necessary).
def abort(self):
Give up on this file. Discard its contents.
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.