Implements interfaces: twisted.python.filepath.IFilePath

In-memory IFilePath.

Method __init__ Undocumented
Method open Opens this file path with the given mode.
Method setContent Undocumented
Method getContent Undocumented
Method remove Undocumented
Method exists Check if this file path exists.
def __init__(self, content=None):
Undocumented
def open(self, mode='r'):

Opens this file path with the given mode.

Returnsa file-like object.
RaisesExceptionif this file path cannot be opened.
def setContent(self, content):
Undocumented
def getContent(self):
Undocumented
def remove(self):
Undocumented
def exists(self):

Check if this file path exists.

ReturnsTrue if the file at this file path exists, False otherwise. (type: bool)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.