pub fn analyze_raw_range(
path: &Path,
start_line: Option<usize>,
end_line: Option<usize>,
) -> Result<AnalyzeRawOutput, AnalyzeError>Expand description
Read a file and return its raw content with line numbers for a specified range.
§Arguments
path: File path to readstart_line: Starting line (1-indexed, optional; defaults to 1)end_line: Ending line (1-indexed, optional; defaults to total lines)
§Returns
Ok(AnalyzeRawOutput)with formatted content and metadataErr(AnalyzeError::NotAFile)if path is a directoryErr(AnalyzeError::InvalidRange)if start > endErr(AnalyzeError::Io)for file I/O errors