Set detection options. # Arguments `options` - Detection options to use # Example ```rust,ignore use atomic_core::diff::Algorithm; let ctx = DetectContext::new(&txn, &working_copy, &changes) .with_options( DetectOptions::new() .with_algorithm(Algorithm::Patience) .with_check_mtime(false) ); ```
(mut self, options: DetectOptions)
| 206 | /// ); |
| 207 | /// ``` |
| 208 | pub fn with_options(mut self, options: DetectOptions) -> Self { |
| 209 | self.options = options; |
| 210 | self |
| 211 | } |
| 212 | |
| 213 | /// Get the pristine transaction reference. |
| 214 | /// |
no outgoing calls