Skip to content
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

cre8-runtime-core · module storage · src · 390 lines (327 code, 3 comment) · sha da5a4260052b971c

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
MemoryTruthProvider::newsrc/storage.rs:83method314015.8
MemoryTruthProvider::querysrc/storage.rs:157trait impl73923.1
provider_named_with_rowssrc/storage.rs:184fn132312.9
provider_with_rowssrc/storage.rs:198fn31812.6
MemoryTruthProvider::read_bucketsrc/storage.rs:87method41202
MemoryTruthProvider::query_getsrc/storage.rs:103method112121.8
MemoryTruthProvider::query_listsrc/storage.rs:115method151121.8
key_matches_prefixsrc/storage.rs:132fn31101.3
ProviderHub::resolve_providersrc/storage.rs:36method41301.2
MemoryTruthProvider::metadatasrc/storage.rs:149trait impl71200.9
ProviderHub::newsrc/storage.rs:25method61300.8
ProviderHub::register_providersrc/storage.rs:32method31300.8
MemoryTruthProvider::write_bucketsrc/storage.rs:92method51100.7
MemoryTruthProvider::delete_from_bucketsrc/storage.rs:98method42100.7
MemoryTruthProvider::kindsrc/storage.rs:141trait impl31100.7
ProviderHub::provider_summariessrc/storage.rs:51method171100.6
ProviderHub::query_advancedsrc/storage.rs:41method41120.6
ProviderHub::commandsrc/storage.rs:46method41010.5
MemoryTruthProvider::idsrc/storage.rs:137trait impl31000.5
MemoryTruthProvider::capabilitiessrc/storage.rs:145trait impl31000.5
MemoryTruthProvider::commandsrc/storage.rs:165trait impl134020.5
get_returns_found_row_and_countsrc/storage.rs:203fn91020.5
get_missing_key_returns_zero_countsrc/storage.rs:214fn91020.5
list_applies_prefix_and_limit_in_key_ordersrc/storage.rs:225fn181020.5
list_without_prefix_or_limit_returns_all_rowssrc/storage.rs:245fn101020.5
delete_reports_affected_rowssrc/storage.rs:257fn131010.5
delete_missing_bucket_reports_zero_affectedsrc/storage.rs:272fn91010.5
metadata_reports_bucket_namessrc/storage.rs:283fn81020.5
hub_routes_queries_and_reports_missing_providerssrc/storage.rs:293fn311050.5
hub_routes_commands_to_selected_providersrc/storage.rs:326fn331040.5
hub_summaries_are_sorted_and_mark_primarysrc/storage.rs:361fn141040.5
unsupported_query_and_command_return_errorssrc/storage.rs:377fn131020.5

Source not readable from this process.