source/README.md is README.md on the disk named source. A workspace has the same file methods as a
single disk, which makes it a drop-in filesystem for agent tools that should see more than one
disk.
Create a workspace
Map a name to each disk. To change how a disk is mounted, pass an object with the disk and its options instead:readOnly: reads work and writes return an error.subdirectory: mount only part of the disk.conditional: write without exclusive access, so several clients can write to the disk at once. See sharing disks.
workspace is also a method on an Archil client, for code that uses more than one account or region.
Read, write, and search
Keys start with the disk’s name. Reads and writes go to that disk. Listing or searching from the workspace root covers every disk.grep takes the same options as on a disk. See search files.
Run commands
exec runs a command with every disk mounted at /mnt/archil/<name>, with each disk’s mount options applied. See
serverless execution.
Change disks
Add or replace a disk withaddDisk and remove one with removeDisk (add_disk and remove_disk in Python).
diskNames lists the current names. A workspace always keeps at least one disk.