Skip to main content

read_code

Function read_code 

Source
pub fn read_code(
    project_root: &Path,
    params: &ReadCodeInput,
) -> Result<ReadCodeOutput, String>
Expand description

Reads source selected by a line-hash anchor or symbol selector.

ยงErrors

Returns an error if the path, anchor, selector, or requested range is invalid.