Skip to main content

handle

Function handle 

Source
pub fn handle(cache: &mut SessionCache, params: &EditParams) -> String
Expand description

Performs a string replacement edit on a file with CRLF/LF and whitespace tolerance. Thin wrapper that runs the I/O and applies the resulting cache effect to cache in one shot (used by tests and any in-process caller that already holds the cache exclusively).