Skip to main content

chunk_file_content

Function chunk_file_content 

Source
pub fn chunk_file_content(
    source: &[u8],
    rel_path: &str,
    project_id: &str,
    language: Option<&str>,
) -> Vec<ContentChunk>
Expand description

Split file content into overlapping chunks for FTS indexing.