Skip to main content

set_read_only

Function set_read_only 

Source
pub async fn set_read_only(path: &Path, read_only: bool) -> Result<()>
Expand description

Set a file to read-only or writable. Matches JS set_read_only() from braidfs/index.js.