pub async fn is_read_only(path: &Path) -> Result<bool>
Check if a file is read-only. Matches JS is_read_only() from braidfs/index.js.
is_read_only()