b.t.FileStream(object) : class documentation

Part of bzrlib.transport View In Hierarchy

Known subclasses: bzrlib.transport.AppendBasedFileStream, bzrlib.transport.FileFileStream, bzrlib.transport.gio_transport.GioFileStream

Base class for FileStreams.
Method __init__ Create a FileStream for relpath on transport.
Method close Undocumented
Method fdatasync Force data out to physical disk if possible.
Method _close A hook point for subclasses that need to take action on close.
def __init__(self, transport, relpath):
Create a FileStream for relpath on transport.
def _close(self):
A hook point for subclasses that need to take action on close.
def close(self, want_fdatasync=False):
Undocumented
def fdatasync(self):
Force data out to physical disk if possible.
RaisesTransportNotPossibleIf this transport has no way to flush to disk.
API Documentation for Bazaar, generated by pydoctor at 2019-05-22 00:20:01.