Skip to main content

get_symbol_body_op

Function get_symbol_body_op 

Source
pub fn get_symbol_body_op(
    workspace: &Workspace,
    db_path: &Path,
    conn: &Connection,
    symbol_name: &str,
    file_path: Option<&str>,
) -> Result<(Symbol, String), OpError>
Expand description

Retrieve the body of a symbol by name, guaranteeing fresh offsets and file contents.