Spaces:
Configuration error
Configuration error
Download openhands/storage/files.py from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/openhands/storage/files.py
- Command line
-
hf download hf://spaces/flyingdarkdev/README/openhands/storage/files.py
-
curl -L -o files.py https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/openhands/storage/files.py
371 Bytes
| 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 | |