sb.
Write files
Upload bytes or strings into the Sailbox filesystem. Paths must be absolute. Missing parent directories are created by default.0o644.
Read files
Fetch a regular file back as bytes:Work with directories
Thefs namespace also covers directory work. mkdir creates a directory and
any missing parents, ls lists a directory’s immediate entries as structured
records (name, type, size, modified time, mode), exists checks a path, and
remove deletes a file or directory tree:
exec(). For many small
files, create an archive locally, upload it, and unpack it inside
the Sailbox: