1 viewer
rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off
crates/cre8-app-compute/src/packages_gossip.rs
Items
const TOPIC_NAME const ENVELOPE_VERSION const DOMAIN_TAG const TOPIC_META struct PackagePublishedRecord struct PackagesPublishedEnvelope static CATALOG struct PackagesPublishedTopic impl GossipTopic for PackagesPublishedTopic
Functions
By call-graph weight (PageRank; 1.0 is the average function). 20 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| catalogsrc/packages_gossip.rs:100 | fn | 3 | 1 | 4 | 0 | 6 | |
| list_recordssrc/packages_gossip.rs:124 | fn | 6 | 1 | 12 | 1 | 2.8 | |
| upsert_recordsrc/packages_gossip.rs:107 | fn | 14 | 4 | 9 | 1 | 1.9 | |
| record_for_local_publishsrc/packages_gossip.rs:150 | fn | 23 | 1 | 6 | 0 | 1.6 | |
| canonical_records_hashsrc/packages_gossip.rs:176 | fn | 13 | 3 | 5 | 0 | 1.4 | |
| recsrc/packages_gossip.rs:260 | fn | 14 | 1 | 6 | 0 | 1.4 | |
| clear_catalog_for_testsrc/packages_gossip.rs:191 | fn | 5 | 2 | 4 | 1 | 1 | |
| record_available_targetsrc/packages_gossip.rs:138 | fn | 10 | 2 | 1 | 1 | 0.8 | |
| default_kindsrc/packages_gossip.rs:79 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| PackagesPublishedTopic::namesrc/packages_gossip.rs:202 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| PackagesPublishedTopic::local_hashsrc/packages_gossip.rs:206 | trait impl | 4 | 2 | 0 | 2 | 0.5 | |
| PackagesPublishedTopic::build_envelopesrc/packages_gossip.rs:211 | trait impl | 16 | 2 | 0 | 3 | 0.5 | |
| PackagesPublishedTopic::apply_envelopesrc/packages_gossip.rs:228 | trait impl | 26 | 6 | 0 | 1 | 0.5 | |
| upsert_and_list_roundtripsrc/packages_gossip.rs:276 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| upsert_is_idempotent_on_identical_contentsrc/packages_gossip.rs:287 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| upsert_replaces_on_changed_contentsrc/packages_gossip.rs:294 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| canonical_hash_is_order_independentsrc/packages_gossip.rs:305 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| canonical_hash_changes_on_witness_changesrc/packages_gossip.rs:312 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| envelope_round_trip_preserves_recordssrc/packages_gossip.rs:320 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| record_for_local_publish_has_expected_shapesrc/packages_gossip.rs:336 | fn | 18 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.