(name: &str)
| 583 | use atomic_core::pristine::MutTxnT; |
| 584 | |
| 585 | fn fail(name: &str) -> Result<(), RepositoryError> { |
| 586 | if std::env::var_os(name).is_some() { |
| 587 | return Err(RepositoryError::InvalidOperation { |
| 588 | message: format!("injected synthesis failpoint: {name}"), |
| 589 | }); |
| 590 | } |
| 591 | Ok(()) |
| 592 | } |
| 593 | |
| 594 | /// Simulates a missing graph vertex: staged content retrieval fails. |
| 595 | pub fn vertex() -> Result<(), RepositoryError> { |
no outgoing calls
no test coverage detected