Function k9::snapshot::source_code::split_by_ranges[][src]

pub fn split_by_ranges(content: String, ranges: Vec<&Range>) -> Vec<String>
Expand description

Given a source code file content and a Vec, split content into chunks while also removing the content within provided ranges, so that it can later be replaced with something else.