from abc import abstractmethod | |
class FileStore: | |
def write(self, path: str, contents: str | bytes) -> None: | |
pass | |
def read(self, path: str) -> str: | |
pass | |
def list(self, path: str) -> list[str]: | |
pass | |
def delete(self, path: str) -> None: | |
pass | |
from abc import abstractmethod | |
class FileStore: | |
def write(self, path: str, contents: str | bytes) -> None: | |
pass | |
def read(self, path: str) -> str: | |
pass | |
def list(self, path: str) -> list[str]: | |
pass | |
def delete(self, path: str) -> None: | |
pass | |