Wrap a MemoryIOSystem method with permission-checking logic. The returned function will check self.permissions and raise IOError with errno.EPERM if the function name is not listed as an available permission.

ParametersoriginalThe MemoryIOSystem instance to wrap.
ReturnsA wrapper around original that applies permission checks.
Function permissionChecker Undocumented
@wraps(original)
def permissionChecker(self, *args, **kwargs): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.