difft::parse::tree_sitter_parser

Function to_tree_with_limit

Source
pub(crate) fn to_tree_with_limit(
    diff_options: &DiffOptions,
    config: &TreeSitterConfig,
    lhs_src: &str,
    rhs_src: &str,
) -> Result<(Tree, Tree), ExceededByteLimit>