Skip to main content
Disk mounts a host directory at a workspace path. Available in Python and Node; for browser storage, use OPFS.

Configuration

Replace root with the directory you want to access:
ls /data lists that directory. Set mode: write to allow changes to its files through Mirage.

SDK guides