pub async fn set_read_only(path: &Path, read_only: bool) -> Result<()>
Set a file to read-only or writable. Matches JS set_read_only() from braidfs/index.js.
set_read_only()