Source code for labgrid.protocol.filesystemprotocol

import abc


[docs]class FileSystemProtocol(abc.ABC): @abc.abstractmethod
[docs] def read(self, filename: str): raise NotImplementedError
@abc.abstractmethod
[docs] def write(self, filename: str, data: bytes, append: bool): raise NotImplementedError