mini_arcade_core.runtime.file.file_port¶ Service interfaces for runtime components. Classes¶ FilePort Interface for file operations. Module Contents¶ class mini_arcade_core.runtime.file.file_port.FilePort[source]¶ Interface for file operations. write_bytes(path: str, data: bytes)[source]¶ Write bytes to a file. Parameters: path (str) – Path to the file. data (bytes) – Data to write. write_text(path: str, text: str)[source]¶ Write text to a file. Parameters: path (str) – Path to the file. text (str) – Text to write.