1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-truth/src/api_adapter.rs
Items
struct TruthApiAdapter impl TruthApiAdapter impl TruthInterface for TruthApiAdapter
Functions
By call-graph weight (PageRank; 1.0 is the average function). 61 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| TruthApiAdapter::newsrc/api_adapter.rs:8 | method | 3 | 1 | 26 | 0 | 27.9 | |
| TruthApiAdapter::namesrc/api_adapter.rs:14 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::supports_network_recordssrc/api_adapter.rs:18 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::network_upsertsrc/api_adapter.rs:22 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::network_get_by_idsrc/api_adapter.rs:26 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::network_listsrc/api_adapter.rs:30 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::network_countsrc/api_adapter.rs:34 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::peer_join_networksrc/api_adapter.rs:38 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::endorsement_upsertsrc/api_adapter.rs:42 | trait impl | 19 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::endorsements_listsrc/api_adapter.rs:62 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::peers_in_networksrc/api_adapter.rs:66 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::peer_upsertsrc/api_adapter.rs:70 | trait impl | 19 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_load_peerssrc/api_adapter.rs:90 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_upsert_protocolsrc/api_adapter.rs:94 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_providers_for_ir_hashsrc/api_adapter.rs:98 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_upsert_sessionsrc/api_adapter.rs:102 | trait impl | 29 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_latest_sessionsrc/api_adapter.rs:132 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_list_sessionssrc/api_adapter.rs:140 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_upsert_snapshotsrc/api_adapter.rs:144 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_insert_snapshot_dedupesrc/api_adapter.rs:148 | trait impl | 9 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_list_snapshotssrc/api_adapter.rs:158 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_touch_seensrc/api_adapter.rs:162 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_increment_failuressrc/api_adapter.rs:166 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::peer_prune_deadsrc/api_adapter.rs:170 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_query_position_historysrc/api_adapter.rs:174 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_load_position_historysrc/api_adapter.rs:178 | trait impl | 8 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_load_positionssrc/api_adapter.rs:187 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_upsert_positionsrc/api_adapter.rs:191 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_load_position_intent_epochssrc/api_adapter.rs:199 | trait impl | 5 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_upsert_position_intentsrc/api_adapter.rs:205 | trait impl | 7 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_apply_settlement_plansrc/api_adapter.rs:213 | trait impl | 6 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_persist_resultsrc/api_adapter.rs:220 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_upsert_path_cachesrc/api_adapter.rs:224 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_persist_transactionssrc/api_adapter.rs:228 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_load_recent_transactionssrc/api_adapter.rs:236 | trait impl | 6 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_load_transactions_stampedsrc/api_adapter.rs:243 | trait impl | 7 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_load_recent_path_cachesrc/api_adapter.rs:251 | trait impl | 6 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_load_path_cache_for_revisionsrc/api_adapter.rs:258 | trait impl | 7 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_load_recent_round_summariessrc/api_adapter.rs:266 | trait impl | 6 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_load_recent_expr_selectionssrc/api_adapter.rs:273 | trait impl | 6 | 1 | 0 | 1 | 0.5 | |
| TruthApiAdapter::matching_load_expired_position_idssrc/api_adapter.rs:280 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_mark_positions_consumedsrc/api_adapter.rs:284 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::matching_latest_position_revisionsrc/api_adapter.rs:288 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::device_replace_peer_recordssrc/api_adapter.rs:292 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::device_listsrc/api_adapter.rs:300 | trait impl | 8 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::device_getsrc/api_adapter.rs:309 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::device_countsrc/api_adapter.rs:317 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::account_upsertsrc/api_adapter.rs:321 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::account_getsrc/api_adapter.rs:325 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::account_listsrc/api_adapter.rs:329 | trait impl | 8 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::account_countsrc/api_adapter.rs:338 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::account_attach_passportsrc/api_adapter.rs:342 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::passport_get_by_identifiersrc/api_adapter.rs:346 | trait impl | 6 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::passport_listsrc/api_adapter.rs:353 | trait impl | 8 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::federated_pubkey_upsertsrc/api_adapter.rs:362 | trait impl | 27 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::federated_pubkey_update_statesrc/api_adapter.rs:390 | trait impl | 23 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::federated_pubkeys_for_accountsrc/api_adapter.rs:414 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::federated_pubkeys_by_pubkeysrc/api_adapter.rs:422 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::federated_sync_cursor_upsertsrc/api_adapter.rs:430 | trait impl | 27 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::federated_sync_cursor_getsrc/api_adapter.rs:458 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| TruthApiAdapter::federated_sync_cursor_listsrc/api_adapter.rs:466 | trait impl | 6 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.