(path: &str)
| 73 | } |
| 74 | |
| 75 | fn sample_file(path: &str) -> FileRecord { |
| 76 | FileRecord { |
| 77 | path: path.to_string(), |
| 78 | content_hash: format!("hash_{path}"), |
| 79 | size: 1024, |
| 80 | modified_at: 1000, |
| 81 | indexed_at: 2000, |
| 82 | node_count: 3, |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | async fn assert_can_start_new_transaction(db: &Database) { |
| 87 | db.conn() |
no outgoing calls
no test coverage detected