1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-runtime-core/src/storage.rs
Items
trait TruthProvider struct ProviderHub impl ProviderHub type SharedTruth struct MemoryTruthProvider impl MemoryTruthProvider impl TruthProvider for MemoryTruthProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 32 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| MemoryTruthProvider::newsrc/storage.rs:83 | method | 3 | 1 | 4 | 0 | 15.8 | |
| MemoryTruthProvider::querysrc/storage.rs:157 | trait impl | 7 | 3 | 9 | 2 | 3.1 | |
| provider_named_with_rowssrc/storage.rs:184 | fn | 13 | 2 | 3 | 1 | 2.9 | |
| provider_with_rowssrc/storage.rs:198 | fn | 3 | 1 | 8 | 1 | 2.6 | |
| MemoryTruthProvider::read_bucketsrc/storage.rs:87 | method | 4 | 1 | 2 | 0 | 2 | |
| MemoryTruthProvider::query_getsrc/storage.rs:103 | method | 11 | 2 | 1 | 2 | 1.8 | |
| MemoryTruthProvider::query_listsrc/storage.rs:115 | method | 15 | 1 | 1 | 2 | 1.8 | |
| key_matches_prefixsrc/storage.rs:132 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| ProviderHub::resolve_providersrc/storage.rs:36 | method | 4 | 1 | 3 | 0 | 1.2 | |
| MemoryTruthProvider::metadatasrc/storage.rs:149 | trait impl | 7 | 1 | 2 | 0 | 0.9 | |
| ProviderHub::newsrc/storage.rs:25 | method | 6 | 1 | 3 | 0 | 0.8 | |
| ProviderHub::register_providersrc/storage.rs:32 | method | 3 | 1 | 3 | 0 | 0.8 | |
| MemoryTruthProvider::write_bucketsrc/storage.rs:92 | method | 5 | 1 | 1 | 0 | 0.7 | |
| MemoryTruthProvider::delete_from_bucketsrc/storage.rs:98 | method | 4 | 2 | 1 | 0 | 0.7 | |
| MemoryTruthProvider::kindsrc/storage.rs:141 | trait impl | 3 | 1 | 1 | 0 | 0.7 | |
| ProviderHub::provider_summariessrc/storage.rs:51 | method | 17 | 1 | 1 | 0 | 0.6 | |
| ProviderHub::query_advancedsrc/storage.rs:41 | method | 4 | 1 | 1 | 2 | 0.6 | |
| ProviderHub::commandsrc/storage.rs:46 | method | 4 | 1 | 0 | 1 | 0.5 | |
| MemoryTruthProvider::idsrc/storage.rs:137 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| MemoryTruthProvider::capabilitiessrc/storage.rs:145 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| MemoryTruthProvider::commandsrc/storage.rs:165 | trait impl | 13 | 4 | 0 | 2 | 0.5 | |
| get_returns_found_row_and_countsrc/storage.rs:203 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| get_missing_key_returns_zero_countsrc/storage.rs:214 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| list_applies_prefix_and_limit_in_key_ordersrc/storage.rs:225 | fn | 18 | 1 | 0 | 2 | 0.5 | |
| list_without_prefix_or_limit_returns_all_rowssrc/storage.rs:245 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| delete_reports_affected_rowssrc/storage.rs:257 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| delete_missing_bucket_reports_zero_affectedsrc/storage.rs:272 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| metadata_reports_bucket_namessrc/storage.rs:283 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| hub_routes_queries_and_reports_missing_providerssrc/storage.rs:293 | fn | 31 | 1 | 0 | 5 | 0.5 | |
| hub_routes_commands_to_selected_providersrc/storage.rs:326 | fn | 33 | 1 | 0 | 4 | 0.5 | |
| hub_summaries_are_sorted_and_mark_primarysrc/storage.rs:361 | fn | 14 | 1 | 0 | 4 | 0.5 | |
| unsupported_query_and_command_return_errorssrc/storage.rs:377 | fn | 13 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.