Creates lenient options for recovery scenarios. Lenient options minimize validation and allow operations that might otherwise fail. Use this for repairing corrupted repositories. # Configuration - Minimal validation - Fail on conflict: `false` - Allow duplicate IDs: `true` # Example ```rust use atomic_core::crdt::apply::options::ApplyOptions; let options = ApplyOptions::lenient(); assert!(!o
()
| 233 | /// assert!(options.allow_duplicate_ids()); |
| 234 | /// ``` |
| 235 | pub fn lenient() -> Self { |
| 236 | Self { |
| 237 | validate_ordering: false, |
| 238 | validate_references: false, |
| 239 | track_conflicts: true, |
| 240 | fail_on_conflict: false, |
| 241 | allow_duplicate_ids: true, |
| 242 | update_reverse_indexes: true, |
| 243 | max_operations: None, |
| 244 | validate_content_ranges: false, |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | /// Creates options optimized for performance. |
| 249 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected