pub fn save_workspace_text(
root: impl AsRef<Path>,
relative_path: impl AsRef<Path>,
expected_sha256: &str,
content: &str,
) -> Result<WorkspaceSaveResult>Expand description
Optimistically replace one existing UTF-8 file and durably version both sides of the accepted save.