mini_arcade_core.runtime.file.file_adapter¶
Module providing runtime adapters for window and scene management.
Classes¶
Adapter for local file operations. |
Module Contents¶
- class mini_arcade_core.runtime.file.file_adapter.LocalFilesAdapter¶
Bases:
mini_arcade_core.runtime.file.file_port.FilePortAdapter for local file operations.
- write_text(path: str, text: str)¶
Write text to a file.
- Parameters:
path (str) – Path to the file.
text (str) – Text to write.
- write_bytes(path: str, data: bytes)¶
Write bytes to a file.
- Parameters:
path (str) – Path to the file.
data (bytes) – Data to write.