Function run_git_operation

Source
pub async fn run_git_operation<F, R>(operation: F) -> Result<R>
where F: FnOnce() -> Result<R> + Send + 'static, R: Send + 'static,
Expand description

Run a potentially blocking Git operation in a background thread