(row: &libsql::Row, offset: i32)
| 555 | } |
| 556 | |
| 557 | fn row_to_code_project(row: &libsql::Row, offset: i32) -> Option<CodeProjectRecord> { |
| 558 | Some(CodeProjectRecord { |
| 559 | project_id: row.get(offset).ok()?, |
| 560 | canonical_root: row.get(offset + 1).ok()?, |
| 561 | display_root: row.get(offset + 2).ok()?, |
| 562 | git_common_dir: row.get(offset + 3).ok()?, |
| 563 | git_remote_url: row.get(offset + 4).ok()?, |
| 564 | default_branch: row.get(offset + 5).ok()?, |
| 565 | created_at: row.get(offset + 6).ok()?, |
| 566 | last_seen_at: row.get(offset + 7).ok()?, |
| 567 | }) |
| 568 | } |
| 569 | |
| 570 | fn row_to_store_instance(row: &libsql::Row, offset: i32) -> Option<StoreInstanceRecord> { |
| 571 | Some(StoreInstanceRecord { |
no outgoing calls
no test coverage detected