(row: &libsql::Row, offset: i32)
| 568 | } |
| 569 | |
| 570 | fn row_to_store_instance(row: &libsql::Row, offset: i32) -> Option<StoreInstanceRecord> { |
| 571 | Some(StoreInstanceRecord { |
| 572 | store_id: row.get(offset).ok()?, |
| 573 | project_id: row.get(offset + 1).ok()?, |
| 574 | store_kind: row.get(offset + 2).ok()?, |
| 575 | storage_mode: row.get(offset + 3).ok()?, |
| 576 | store_relpath: row.get(offset + 4).ok()?, |
| 577 | manifest_relpath: row.get(offset + 5).ok()?, |
| 578 | created_at: row.get(offset + 6).ok()?, |
| 579 | last_verified_at: row.get(offset + 7).ok()?, |
| 580 | last_write_at: row.get(offset + 8).ok()?, |
| 581 | }) |
| 582 | } |
| 583 | |
| 584 | fn row_to_graph_scope(row: &libsql::Row, offset: i32) -> Option<GraphScopeRecord> { |
| 585 | let writable = row.get::<i64>(offset + 7).ok()? != 0; |
no outgoing calls
no test coverage detected