pub fn replace_symbol_body(
workspace: &Workspace,
db_path: &Path,
conn: &Connection,
symbol_name: &str,
file_path: &str,
new_body: &str,
expected_body_hash: Option<&str>,
) -> Result<EditResult, EditError>Expand description
Atomically replaces the implementation body of a symbol by name.