rust 1,854,395 · typescript 233,161 · javascript 131,995 · python 19,227 · 6,379 files · digest 17dcda71e44b · built in 1.5 s · crystals off
crates/cre8-app-truth/src/interface.rs
Items
type GraphStorage type GraphStorage struct DbConnection impl DbConnection impl Deref for DbConnection impl DerefMut for DbConnection impl Drop for DbConnection type DbConnection type DbConnection type DurableGraph trait DurableGraphExt impl DurableGraphExt for DurableGraph struct TruthAccessAdapter impl TruthAccess for TruthAccessAdapter trait TruthInterface type SharedTruth macro impl_truth_methods_base_native macro impl_truth_methods_base_browser macro impl_truth_methods_identity_stubs_browser macro impl_truth_methods_browser macro impl_truth_methods_not_identity_browser macro impl_truth_methods_identity_native macro impl_truth_methods_network_native macro impl_truth_methods_native macro impl_truth_methods_not_identity_native macro impl_truth_methods_identity_browser macro impl_truth_methods_browser macro impl_truth_methods_not_identity_browser struct SqliteRuntimeTruth impl SqliteRuntimeTruth impl TruthInterface for SqliteRuntimeTruth struct InMemoryRuntimeTruth impl InMemoryRuntimeTruth static COUNTER impl TruthInterface for InMemoryRuntimeTruth struct BrowserRuntimeTruth impl BrowserRuntimeTruth impl TruthInterface for BrowserRuntimeTruth struct HyperdbRuntimeTruth impl HyperdbRuntimeTruth impl TruthInterface for HyperdbRuntimeTruth impl TruthInterface for HyperdbRuntimeTruth
Functions
By call-graph weight (PageRank; 1.0 is the average function). 161 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| row_get_valuesrc/interface.rs:124 | fn | 3 | 1 | 12 | 0 | 189 | |
| row_get_stringsrc/interface.rs:128 | fn | 6 | 1 | 304 | 1 | 125 | |
| TruthInterface::command_sqlsrc/interface.rs:370 | trait default | 42 | 8 | 265 | 2 | 112 | |
| TruthInterface::sql_bridgesrc/interface.rs:303 | trait default | 48 | 6 | 6 | 8 | 91.8 | |
| TruthInterface::query_sqlsrc/interface.rs:485 | trait default | 18 | 2 | 395 | 2 | 90.8 | |
| TruthInterface::exec_sqlsrc/interface.rs:503 | trait default | 12 | 1 | 33 | 1 | 67.6 | |
| row_get_i64src/interface.rs:135 | fn | 3 | 1 | 185 | 1 | 64.6 | |
| TruthInterface::data_dirsrc/interface.rs:239 | trait default | 3 | 1 | 3 | 1 | 29.2 | |
| row_get_opt_stringsrc/interface.rs:143 | fn | 8 | 3 | 52 | 1 | 16.6 | |
| hyperdb_truthsrc/interface.rs:4219 | fn | 3 | 1 | 20 | 2 | 16 | |
| TruthInterface::named_graph_pathssrc/interface.rs:242 | trait default | 8 | 4 | 18 | 1 | 12.4 | |
| memory_name_from_sqlite_urisrc/interface.rs:118 | fn | 5 | 2 | 1 | 0 | 10.3 | |
| TruthInterface::storage_locationsrc/interface.rs:250 | trait default | 3 | 1 | 11 | 1 | 9.8 | |
| HyperdbRuntimeTruth::open_named_graphsrc/interface.rs:3603 | trait impl | 7 | 2 | 40 | 2 | 9.4 | |
| row_get_opt_i64src/interface.rs:152 | fn | 10 | 3 | 33 | 1 | 8.6 | |
| HyperdbRuntimeTruth::newsrc/interface.rs:3572 | method | 4 | 1 | 2 | 0 | 7.5 | |
| TruthInterface::backend_descriptorsrc/interface.rs:253 | trait default | 3 | 1 | 3 | 1 | 6.8 | |
| TruthInterface::query_rowssrc/interface.rs:351 | trait default | 13 | 4 | 31 | 2 | 5.4 | |
| TruthInterface::command_batchsrc/interface.rs:421 | trait default | 28 | 3 | 34 | 2 | 4.7 | |
| row_get_f64src/interface.rs:139 | fn | 3 | 1 | 13 | 1 | 3.4 | |
| TruthInterface::open_named_graph_read_onlysrc/interface.rs:275 | trait default | 11 | 1 | 6 | 1 | 3.4 | |
| is_truth_empty_fallback_errorsrc/interface.rs:187 | fn | 4 | 2 | 1 | 0 | 2.8 | |
| DbConnection::checkoutsrc/interface.rs:44 | method | 11 | 2 | 7 | 1 | 2.6 | |
| TruthInterface::ensure_account_tablessrc/interface.rs:575 | trait default | 11 | 1 | 8 | 1 | 2.3 | |
| TruthAccessAdapter::ensure_asset_tablessrc/interface.rs:210 | trait impl | 3 | 1 | 11 | 0 | 2.3 | |
| TruthInterface::backend_metadata_jsonsrc/interface.rs:256 | trait default | 4 | 1 | 5 | 1 | 2.2 | |
| TruthInterface::query_onesrc/interface.rs:364 | trait default | 6 | 1 | 15 | 1 | 2.1 | |
| TruthInterface::credit_assetsrc/interface.rs:538 | trait default | 9 | 2 | 6 | 0 | 2.1 | |
| TruthInterface::command_batch_expect_affectedsrc/interface.rs:459 | trait default | 26 | 3 | 8 | 1 | 1.9 | |
| browser_storage_get_stringsrc/interface.rs:4281 | fn | 5 | 1 | 2 | 0 | 1.8 | |
| row_get_opt_f64src/interface.rs:163 | fn | 10 | 3 | 5 | 1 | 1.8 | |
| browser_storage_put_stringsrc/interface.rs:4288 | fn | 5 | 1 | 2 | 0 | 1.7 | |
| HyperdbRuntimeTruth::passport_get_by_idsrc/interface.rs:3717 | trait impl | 8 | 2 | 2 | 3 | 1.5 | |
| HyperdbRuntimeTruth::passport_upsertsrc/interface.rs:3701 | trait impl | 16 | 4 | 3 | 4 | 1.5 | |
| TruthAccessAdapter::upsert_asset_balancesrc/interface.rs:219 | trait impl | 3 | 1 | 8 | 0 | 1.4 | |
| HyperdbRuntimeTruth::open_dbsrc/interface.rs:3586 | trait impl | 11 | 2 | 2 | 2 | 1.3 | |
| browser_open_named_graphsrc/interface.rs:4228 | fn | 8 | 2 | 2 | 2 | 1.3 | |
| TruthInterface::holds_assetsrc/interface.rs:528 | trait default | 3 | 1 | 6 | 0 | 1.2 | |
| InMemoryRuntimeTruth::with_namesrc/interface.rs:3480 | method | 14 | 1 | 1 | 0 | 1.1 | |
| DurableGraph::load_memsrc/interface.rs:106 | trait impl | 6 | 1 | 1 | 0 | 1.1 | |
| HyperdbRuntimeTruth::passport_get_by_account_idsrc/interface.rs:3725 | trait impl | 14 | 5 | 3 | 3 | 1 | |
| browser_persist_named_graphsrc/interface.rs:4274 | fn | 5 | 1 | 6 | 2 | 1 | |
| TruthAccessAdapter::load_asset_balancessrc/interface.rs:228 | trait impl | 5 | 1 | 3 | 0 | 1 | |
| DurableGraph::snapshot_memsrc/interface.rs:113 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::supports_network_recordssrc/interface.rs:260 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::matching_query_position_historysrc/interface.rs:759 | trait default | 6 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::matching_load_position_historysrc/interface.rs:766 | trait default | 8 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::matching_load_position_intent_epochssrc/interface.rs:778 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::matching_upsert_position_intentsrc/interface.rs:781 | trait default | 7 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::matching_apply_settlement_plansrc/interface.rs:788 | trait default | 6 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::matching_load_transactions_stampedsrc/interface.rs:813 | trait default | 8 | 1 | 1 | 1 | 0.9 | |
| TruthInterface::matching_load_path_cache_for_revisionsrc/interface.rs:827 | trait default | 11 | 1 | 1 | 1 | 0.9 | |
| TruthInterface::matching_load_recent_round_summariessrc/interface.rs:842 | trait default | 6 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::matching_load_recent_expr_selectionssrc/interface.rs:850 | trait default | 6 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::network_upsertsrc/interface.rs:1004 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::network_get_by_idsrc/interface.rs:1007 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::network_listsrc/interface.rs:1010 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::network_countsrc/interface.rs:1013 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::peer_join_networksrc/interface.rs:1016 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::endorsement_upsertsrc/interface.rs:1019 | trait default | 11 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::endorsements_listsrc/interface.rs:1030 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| TruthInterface::peers_in_networksrc/interface.rs:1033 | trait default | 3 | 1 | 1 | 0 | 0.9 | |
| SqliteRuntimeTruth::open_dbsrc/interface.rs:3439 | trait impl | 11 | 2 | 1 | 2 | 0.9 | |
| InMemoryRuntimeTruth::open_dbsrc/interface.rs:3506 | trait impl | 12 | 1 | 1 | 1 | 0.9 | |
| BrowserRuntimeTruth::open_dbsrc/interface.rs:3552 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| browser_truth_defaultsrc/interface.rs:4223 | fn | 3 | 1 | 1 | 2 | 0.9 | |
| browser_storage_get_jsonsrc/interface.rs:4295 | fn | 4 | 1 | 1 | 1 | 0.9 | |
| browser_storage_put_jsonsrc/interface.rs:4301 | fn | 4 | 1 | 1 | 1 | 0.9 | |
| BrowserRuntimeTruth::newsrc/interface.rs:3540 | method | 3 | 1 | 1 | 0 | 0.9 | |
| TruthAccessAdapter::available_balancesrc/interface.rs:216 | trait impl | 3 | 1 | 1 | 0 | 0.8 | |
| TruthInterface::load_signed_certificatessrc/interface.rs:640 | trait default | 3 | 1 | 1 | 0 | 0.8 | |
| SqliteRuntimeTruth::newsrc/interface.rs:3427 | method | 3 | 1 | 1 | 0 | 0.7 | |
| InMemoryRuntimeTruth::newsrc/interface.rs:3475 | method | 5 | 1 | 1 | 1 | 0.7 | |
| HyperdbRuntimeTruth::passport_countsrc/interface.rs:3772 | trait impl | 4 | 1 | 1 | 1 | 0.7 | |
| row_get_opt_boolsrc/interface.rs:174 | fn | 12 | 4 | 1 | 1 | 0.7 | |
| TruthInterface::transfer_assetsrc/interface.rs:552 | trait default | 11 | 3 | 2 | 1 | 0.6 | |
| browser_upsert_account_peersrc/interface.rs:4238 | fn | 16 | 3 | 1 | 2 | 0.6 | |
| browser_upsert_account_passportsrc/interface.rs:4256 | fn | 16 | 2 | 1 | 2 | 0.6 | |
| DbConnection::derefsrc/interface.rs:60 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| DbConnection::deref_mutsrc/interface.rs:67 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| DbConnection::dropsrc/interface.rs:74 | trait impl | 14 | 4 | 0 | 0 | 0.5 | |
| truth_accesssrc/interface.rs:196 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| TruthAccessAdapter::namesrc/interface.rs:201 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthAccessAdapter::db_pathsrc/interface.rs:204 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthAccessAdapter::data_dirsrc/interface.rs:207 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthAccessAdapter::ensure_bootstrapsrc/interface.rs:213 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthAccessAdapter::reserve_balancesrc/interface.rs:222 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthAccessAdapter::release_balancesrc/interface.rs:225 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TruthInterface::commandsrc/interface.rs:289 | trait default | 6 | 2 | 0 | 1 | 0.5 | |
| TruthInterface::query_advancedsrc/interface.rs:296 | trait default | 6 | 2 | 0 | 1 | 0.5 | |
| TruthInterface::peer_account_idsrc/interface.rs:1036 | trait default | 3 | 1 | 0 | 0 | 0.5 | |
| SqliteRuntimeTruth::namesrc/interface.rs:3433 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SqliteRuntimeTruth::db_pathsrc/interface.rs:3436 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SqliteRuntimeTruth::open_graphsrc/interface.rs:3450 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SqliteRuntimeTruth::open_named_graphsrc/interface.rs:3453 | trait impl | 7 | 2 | 0 | 2 | 0.5 | |
| SqliteRuntimeTruth::open_db_compatsrc/interface.rs:3460 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| InMemoryRuntimeTruth::namesrc/interface.rs:3497 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| InMemoryRuntimeTruth::db_pathsrc/interface.rs:3500 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| InMemoryRuntimeTruth::data_dirsrc/interface.rs:3503 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| InMemoryRuntimeTruth::open_graphsrc/interface.rs:3518 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| InMemoryRuntimeTruth::open_named_graphsrc/interface.rs:3521 | trait impl | 7 | 2 | 0 | 2 | 0.5 | |
| InMemoryRuntimeTruth::open_db_compatsrc/interface.rs:3528 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| BrowserRuntimeTruth::namesrc/interface.rs:3546 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| BrowserRuntimeTruth::db_pathsrc/interface.rs:3549 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| BrowserRuntimeTruth::open_graphsrc/interface.rs:3555 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| BrowserRuntimeTruth::open_named_graphsrc/interface.rs:3558 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| BrowserRuntimeTruth::open_db_compatsrc/interface.rs:3561 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::namesrc/interface.rs:3580 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| HyperdbRuntimeTruth::db_pathsrc/interface.rs:3583 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| HyperdbRuntimeTruth::open_graphsrc/interface.rs:3597 | trait impl | 6 | 2 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::open_db_compatsrc/interface.rs:3610 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::supports_network_recordssrc/interface.rs:3613 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| HyperdbRuntimeTruth::account_upsertsrc/interface.rs:3617 | trait impl | 38 | 7 | 0 | 5 | 0.5 | |
| HyperdbRuntimeTruth::account_getsrc/interface.rs:3655 | trait impl | 8 | 2 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::account_listsrc/interface.rs:3663 | trait impl | 19 | 1 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::account_countsrc/interface.rs:3682 | trait impl | 4 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::account_attach_passportsrc/interface.rs:3686 | trait impl | 15 | 3 | 0 | 4 | 0.5 | |
| HyperdbRuntimeTruth::passport_get_by_identifiersrc/interface.rs:3739 | trait impl | 14 | 5 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::passport_listsrc/interface.rs:3753 | trait impl | 19 | 1 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::network_upsertsrc/interface.rs:3776 | trait impl | 10 | 2 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::network_get_by_idsrc/interface.rs:3786 | trait impl | 8 | 2 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::network_listsrc/interface.rs:3794 | trait impl | 12 | 1 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::network_countsrc/interface.rs:3806 | trait impl | 4 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::peer_join_networksrc/interface.rs:3810 | trait impl | 20 | 3 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::endorsement_upsertsrc/interface.rs:3830 | trait impl | 26 | 3 | 0 | 4 | 0.5 | |
| HyperdbRuntimeTruth::endorsements_listsrc/interface.rs:3856 | trait impl | 23 | 3 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::peers_in_networksrc/interface.rs:3879 | trait impl | 16 | 5 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::peer_account_idsrc/interface.rs:3895 | trait impl | 4 | 1 | 0 | 2 | 0.5 | |
| HyperdbRuntimeTruth::namesrc/interface.rs:3905 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| HyperdbRuntimeTruth::db_pathsrc/interface.rs:3908 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| HyperdbRuntimeTruth::open_dbsrc/interface.rs:3911 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| HyperdbRuntimeTruth::open_graphsrc/interface.rs:3914 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| HyperdbRuntimeTruth::open_named_graphsrc/interface.rs:3917 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::open_db_compatsrc/interface.rs:3920 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::supports_network_recordssrc/interface.rs:3923 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| HyperdbRuntimeTruth::account_upsertsrc/interface.rs:3927 | trait impl | 13 | 2 | 0 | 6 | 0.5 | |
| HyperdbRuntimeTruth::account_getsrc/interface.rs:3940 | trait impl | 8 | 2 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::account_listsrc/interface.rs:3948 | trait impl | 19 | 1 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::account_countsrc/interface.rs:3967 | trait impl | 4 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::account_attach_passportsrc/interface.rs:3971 | trait impl | 16 | 3 | 0 | 5 | 0.5 | |
| HyperdbRuntimeTruth::passport_upsertsrc/interface.rs:3987 | trait impl | 17 | 4 | 0 | 5 | 0.5 | |
| HyperdbRuntimeTruth::passport_get_by_idsrc/interface.rs:4004 | trait impl | 8 | 2 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::passport_get_by_account_idsrc/interface.rs:4012 | trait impl | 14 | 5 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::passport_get_by_identifiersrc/interface.rs:4026 | trait impl | 14 | 5 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::passport_listsrc/interface.rs:4040 | trait impl | 19 | 1 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::passport_countsrc/interface.rs:4059 | trait impl | 4 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::network_upsertsrc/interface.rs:4064 | trait impl | 11 | 2 | 0 | 4 | 0.5 | |
| HyperdbRuntimeTruth::network_get_by_idsrc/interface.rs:4075 | trait impl | 8 | 2 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::network_listsrc/interface.rs:4083 | trait impl | 12 | 1 | 0 | 3 | 0.5 | |
| HyperdbRuntimeTruth::network_countsrc/interface.rs:4095 | trait impl | 4 | 1 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::peer_join_networksrc/interface.rs:4099 | trait impl | 21 | 3 | 0 | 4 | 0.5 | |
| HyperdbRuntimeTruth::endorsement_upsertsrc/interface.rs:4120 | trait impl | 27 | 3 | 0 | 5 | 0.5 | |
| HyperdbRuntimeTruth::endorsements_listsrc/interface.rs:4147 | trait impl | 23 | 3 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::peers_in_networksrc/interface.rs:4170 | trait impl | 16 | 5 | 0 | 1 | 0.5 | |
| HyperdbRuntimeTruth::peer_account_idsrc/interface.rs:4186 | trait impl | 4 | 1 | 0 | 2 | 0.5 | |
| sqlite_truthsrc/interface.rs:4195 | fn | 3 | 1 | 0 | 2 | 0.5 | |
| sqlite_truthsrc/interface.rs:4199 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| sqlite_truthsrc/interface.rs:4204 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| memory_truthsrc/interface.rs:4208 | fn | 3 | 1 | 0 | 2 | 0.5 | |
| memory_truthsrc/interface.rs:4212 | fn | 3 | 1 | 0 | 2 | 0.5 | |
| memory_truthsrc/interface.rs:4216 | fn | 3 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.